joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cfe0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
lea ebp, [ecx + 0x60]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x14], ecx
cmp esi, dword [ebp + 0x10]
jbe 0x41d001
call fcn.0043fb41
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
xor ebx, ebx
lea ebx, [ebx]
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], edi
jbe 0x41d01d
call fcn.0043fb41
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
cmp ecx, ebx
je 0x41d02c
cmp ecx, eax
je 0x41d031
call fcn.0043fb41
cmp esi, edi
je 0x41d0e6
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x41d0db
call fcn.0043fb41
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41d056
call fcn.0043fb41
mov edi, dword [esi]
cmp edi, ebx
je 0x41d0ba
mov eax, dword [edi + 8]
mov byte [edi + 0x2c], bl
cmp eax, ebx
je 0x41d06d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41d09f
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41d092
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x41d0b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x41d0e2
call fcn.0043fb41
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41d0d3
call fcn.0043fb41
add esi, 4
jmp 0x41d010
mov eax, dword [eax]
jmp 0x41d04c
mov eax, dword [eax]
jmp 0x41d0c9
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jbe 0x41d0f3
call fcn.0043fb41
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp]
cmp edi, dword [ebp + 0x10]
jbe 0x41d103
call fcn.0043fb41
mov eax, dword [ebp]
push esi
push ebx
push edi
push eax
lea ebx, [esp + 0x28]
mov esi, ebp
call fcn.0040d140
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x58]
add esi, 0x48
cmp dword [esi + 0xc], edi
jbe 0x41d129
call fcn.0043fb41
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x41d138
call fcn.0043fb41
mov eax, dword [esi]
push edi
push ebp
push ebx
push eax
lea ebx, [esp + 0x28]
call fcn.0040d140
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
push eax
call esi
mov eax, dword [edi + 0x24]
push eax
call esi
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x492f18
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0041f2b0
mov ecx, 7
xor eax, eax
mov dword [esp + 0x3c], ecx
xor edx, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x74], ecx
xor ecx, ecx
mov dword [esp + 0x38], eax
mov word [esp + 0x28], dx
mov dword [esp + 0x54], eax
mov word [esp + 0x44], dx
mov dword [esp + 0x70], eax
mov word [esp + 0x60], cx
mov dword [esp + 0x88], eax
push 3
mov eax, 0x4ae014
lea esi, [esp + 0x28]
call fcn.00403500
push 5
mov eax, str.class
lea esi, [esp + 0x44]
call fcn.00403500
push 8
mov eax, str.ykplayer
lea esi, [esp + 0x60]
call fcn.00403500
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0xc]
push eax
push 0x41df50
call edx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
lea esi, [esp + 0xc]
sar eax, 2
test eax, eax
jbe 0x41e3d5
call fcn.0041e400
mov al, 1
jmp 0x41e3dc
call fcn.0041e400
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0043f4b7
add esp, 0x84
ret

Function at 0x41ea80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x492f18
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0041f2b0
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov word [esp + 0x28], dx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov word [esp + 0x44], dx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov word [esp + 0x60], dx
mov dword [esp + 0x88], eax
push ecx
mov eax, str.SECTION
lea esi, [esp + 0x28]
call fcn.00403500
push 5
mov eax, str.class
lea esi, [esp + 0x44]
call fcn.00403500
push 0xe
mov eax, str.m_video_player
lea esi, [esp + 0x60]
call fcn.00403500
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0xc]
push edx
push 0x41df50
call eax
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
sar ecx, 2
test ecx, ecx
jbe 0x41eb61
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push str.document.getElementsByClassName_c_videoplay__0_.setAttribute_style__display:block___document.getElementsByClassName_c_videoplay_selected__0_.setAttribute_style__display:block___
call eax
lea esi, [esp + 0xc]
call fcn.0041e400
mov al, 1
jmp 0x41eb6c
lea esi, [esp + 0xc]
call fcn.0041e400
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0043f4b7
add esp, 0x84
ret
Function at 0x41fae0
Capabilities:
Terminate thread

Disassembly:
mov dword [esi], vtable.CClickProc.0
cmp dword [esi + 0x94], 8
jb 0x41fafe
mov eax, dword [esi + 0x80]
push eax
call fcn.0043f604
add esp, 4
xor ecx, ecx
mov dword [esi + 0x94], 7
mov dword [esi + 0x90], 0
mov word [esi + 0x80], cx
cmp dword [esi + 0x78], 8
jb 0x41fb2d
mov edx, dword [esi + 0x64]
push edx
call fcn.0043f604
add esp, 4
xor eax, eax
mov dword [esi + 0x78], 7
mov dword [esi + 0x74], 0
mov word [esi + 0x64], ax
mov ecx, esi
jmp fcn.00405160
Function at 0x425e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49226e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
mov byte [esi + 4], cl
mov dword [esp + 0x14], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov byte [esi + 0x20], cl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ecx
mov byte [esi + 0x3c], cl
mov eax, edi
mov byte [esp + 0x14], 2
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, cl
jne 0x425e66
sub eax, ebx
push eax
push edi
mov ecx, esi
call fcn.004022f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4266d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x493e63
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
movzx ebx, ax
shr eax, 0x10
mov esi, eax
push esi
push ecx
call fcn.00423b80
add esp, 4
push eax
call fcn.00416750
xor edi, edi
mov dword [esp + 0x1c], eax
cmp ebx, edi
jne 0x426801
push 0xc4
call fcn.0043f6a7
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], edi
cmp eax, edi
je 0x42675e
push esi
mov esi, eax
call fcn.00426cf0
mov ebx, eax
jmp 0x426760
xor ebx, ebx
sub esp, 0x1c
mov dword [esp + 0x9c], 0xffffffff
mov ecx, esp
mov eax, ebp
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426787
sub eax, esi
push eax
push ebp
call fcn.004022f0
lea ecx, [esp + 0x58]
call fcn.00403dd0
add esp, 0x1c
mov esi, 8
mov dword [esp + 0x80], 1
cmp dword [eax + 0x18], esi
jb 0x4267bd
mov eax, dword [eax + 4]
jmp 0x4267c0
add eax, 4
mov edx, eax
call fcn.00426d40
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], esi
jb 0x4267e5
mov eax, dword [esp + 0x40]
push eax
call fcn.0043f604
add esp, 4
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
add edi, 0xc4
lea ebx, [esp + 0x18]
call fcn.00426a80
jmp 0x4268fc
cmp ebx, 1
jne 0x4268fc
xor ecx, ecx
push 9
mov eax, str.OpenUrl_
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], edi
mov word [esp + 0x60], cx
call fcn.00403500
sub esp, 0x1c
mov ecx, esp
mov ebx, 2
mov dword [esp + 0x9c], ebx
mov eax, ebp
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426855
sub eax, esi
push eax
push ebp
call fcn.004022f0
lea ecx, [esp + 0x3c]
call fcn.00403dd0
add esp, 0x1c
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x60]
mov byte [esp + 0x88], 3
call fcn.0040bed0
mov esi, 8
mov byte [esp + 0x80], bl
cmp dword [esp + 0x38], esi
jb 0x4268a6
mov edx, dword [esp + 0x24]
push edx
call fcn.0043f604
add esp, 4
push 5
push str.__1_
lea eax, [esp + 0x60]
call fcn.0040bbe0
mov edi, dword [esp + 0x1c]
call fcn.00423df0
test eax, eax
je 0x4268e9
mov edi, dword [eax + 4]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4268df
lea eax, [esp + 0x5c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
cmp dword [esp + 0x70], esi
jb 0x4268fc
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0043f604
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043f4b7
add esp, 0x70
ret 8
Function at 0x434fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.ole32.dll
call esi
push str.dsound.dll
mov ebx, eax
call esi
push str.Winmm.dll
mov ebp, eax
call esi
push str.Ws2_32.dll
mov edi, eax
call esi
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x4350b9
test ebp, ebp
je 0x4350b9
test edi, edi
je 0x4350b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push ebx
call esi
push str.CoGetClassObject
push ebx
mov dword [0x4b9220], eax
call esi
push str.DirectSoundCreate8
push ebp
mov dword [0x4b9224], eax
call esi
push str.DirectSoundCreate
push ebp
mov dword [0x4b9238], eax
call esi
push str.waveOutOpen
push edi
mov dword [0x4b922c], eax
call esi
push str.midiStreamOpen
push edi
mov dword [0x4b9228], eax
call esi
push str.waveOutWrite
push edi
mov dword [0x4b9230], eax
call esi
push str.PlaySoundW
push edi
mov dword [0x4b9234], eax
call esi
push str.mmioOpenW
push edi
mov dword [0x4b923c], eax
call esi
push str.mixerOpen
push edi
mov dword [0x4b9240], eax
call esi
push str.sndPlaySoundW
push edi
mov dword [0x4b9244], eax
call esi
mov dword [0x4b9248], eax
call fcn.00401930
cmp byte [eax + 0x155], 0
je 0x4350b1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4350b1
push str.send
push eax
call esi
mov dword [0x4b924c], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x4360c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x4360d1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4360ef
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x436126
test ecx, ecx
je 0x43611f
test esi, esi
ja 0x4360e0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x436140
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x436151
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x43616f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4361a6
test ecx, ecx
je 0x43619f
test esi, esi
ja 0x436160
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x438f60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4ba4e0], ecx
inc edx
cmp edx, 0x100
jb 0x438f63
cmp edx, 0x800
jae 0x439039
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x4ba0e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4ba4e0]
inc edx
mov dword [edx*4 + 0x4ba4dc], eax
cmp edx, 0x800
jb 0x439010
mov eax, 0x439ce0
mov dword [0x4ba4cc], eax
mov dword [0x4bc4e0], eax
mov dword [0x4ba4c8], 0x439d90
call fcn.00439f90
test eax, eax
jne 0x439065
mov dword [0x4bc4e0], 0x439d90
pop ecx
ret
Function at 0x439070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
push esi
mov esi, dword [esp + 0xb0]
push edi
xor ebp, ebp
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
call fcn.0043c9f0
add esp, 4
cmp eax, ebp
jne 0x439205
mov edx, dword [esp + 0xb8]
mov edi, dword [esp + 0xa8]
mov eax, 1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
jmp 0x439110
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x40000
test ebp, ebp
ja 0x439132
jb 0x43912e
cmp edi, 0x40000
jae 0x439132
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call edx
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4391f1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xbc]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.0043c640
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x24], eax
add esp, 0x14
sub edi, eax
sbb ebp, 0
test esi, esi
jne 0x4391f1
mov ecx, dword [esp + 0x20]
cmp ecx, 1
je 0x4391db
mov edx, dword [esp + 0xb8]
cmp edx, dword [esp + 0x4c]
jne 0x4391b7
mov edx, edi
or edx, ebp
jne 0x4391b7
cmp ecx, 4
je 0x4391f1
test eax, eax
jne 0x4391c1
cmp ebx, dword [esp + 0x4c]
je 0x4391ec
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 4]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x439110
jmp 0x4391f1
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x4c]
jne 0x4391ec
or edi, ebp
je 0x4391f1
mov esi, 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [eax + 4]
call eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f4b7
add esp, 0x94
ret
Function at 0x43a720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [ecx]
push edi
xor edi, edi
and esi, 7
cmp eax, 5
jae 0x43a73f
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
sub eax, 4
push ebp
lea ebp, [ebx + eax]
mov dword [esp + 0x10], ebp
lea ebx, [ebx]
lea edx, [edi + ebx]
cmp edx, ebp
jae 0x43a764
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x43a764
inc edx
cmp edx, ebp
jb 0x43a757
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebx
sub ecx, ebx
mov edi, eax
cmp edx, ebp
jae 0x43a834
cmp ecx, 2
jbe 0x43a803
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x43a829
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
add edi, 5
mov eax, ecx
sub eax, edi
test esi, esi
je 0x43a7e1
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x43a7d7
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
sub eax, edi
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
xor esi, esi
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x43a750
shr esi, cl
test esi, esi
je 0x43a783
cmp esi, 4
ja 0x43a829
cmp esi, 3
je 0x43a829
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x43a783
or esi, 8
shr esi, 1
inc edi
jmp 0x43a750
pop ebp
cmp ecx, 2
jbe 0x43a849
mov edx, dword [esp + 0x18]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
pop ecx
ret
Function at 0x43da20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b8498]
mov dword [ebp - 4], eax
jmp 0x43da39
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x43da56
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x43da30
mov esp, ebp
pop ebp
ret

Function at 0x43da60
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4b84a8], eax
je 0x43da7e
mov eax, 0x10dd
jmp 0x43db5f
mov eax, dword [0x4b84b8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dafc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43dada
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43dada
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0043dbd0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043f604
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x43da86
mov dword [0x4b84b8], 0
call fcn.0043db70
mov ecx, dword [0x4b84b4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x43db49
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0043f604
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x43db14
mov dword [0x4b84b4], 0
mov dword [0x4b84a8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43e0d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x43e0e5
xor eax, eax
jmp 0x43e15a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x43e112
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x43e155
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x43e153
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x43e14f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x43e153
xor eax, eax
jmp 0x43e15a
jmp 0x43e109
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43e200
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4b84ac], 0
je 0x43e219
mov eax, dword [0x4b84ac]
jmp 0x43e2b9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x43e22b
xor eax, eax
jmp 0x43e2b9
push 8
call fcn.0043f6a7
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43e281
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x43e26a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043f604
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x4b84ac], eax
mov dword [0x4b84b0], 0
mov eax, dword [ebp - 4]
jmp 0x43e2b9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x43e29b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x43e24b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4b84b4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4b84b4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4