joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e28f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x42e2c8
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042decc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42e326
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x42e34a
cmp dword [edi + 0x74], 0
jne 0x42e34a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042e2e7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42ffee
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55e518
call fcn.00532087
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x430013
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x430065
call fcn.0043696e
push eax
lea ecx, [ebp - 0x10]
call fcn.00403c90
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00531fba
push eax
call fcn.00405d20
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004036b0
mov eax, esi
call fcn.0053215f
ret 8

Function at 0x4368a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4368ef
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x4368ef
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43690b
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004363a8
mov esi, eax
test edi, edi
je 0x436909
test ebx, ebx
je 0x436909
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x437139
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00436ddd
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x437183
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00434a4b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00432d16
jmp 0x43718e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004467f1
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x437194
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042f877
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4371d1
call fcn.00436ddd
mov dword [esi + 0xc], 1
jmp 0x4371d6
call fcn.00436ddd
cmp dword [esi], 0
je 0x43721f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4371f7
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00434a4b
jmp 0x437209
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00403ea0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00432d16
jmp 0x437243
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x437243
push dword [esi]
push dword [ebp + 8]
call fcn.004467f1
pop esi
pop ebp
ret 0xc
Function at 0x43bed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
jne 0x43befd
xor eax, eax
jmp 0x43bfa4
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x43bef6
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x43bef6
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cd61
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x43bf55
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x43bf43
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0043abfb
push edi
mov ebx, eax
call fcn.0042cd9b
pop ecx
test ebx, ebx
je 0x43bf97
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0043b245
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0043b2f9
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x442a26
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5bec40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x442a6b
push 0x56c460
push 4
push eax
call fcn.00531f57
push eax
call fcn.00405d20
add esp, 0x10
jmp 0x442a81
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x442b01
push edi
call fcn.00532212
mov edi, dword [eax]
call fcn.00532212
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005321af
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00532212
cmp dword [eax], 0
je 0x442ad5
call fcn.00532212
push dword [eax]
call fcn.0042d0ec
pop ecx
jmp 0x442adc
call fcn.00532212
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x442b01
cmp dword [ebp - 0x234], esi
jae 0x442b01
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
jmp 0x442b03
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00531f2d
leave
ret
Function at 0x442fa2
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5bec40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push 0x56c718
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00431e86
pop ecx
cmp eax, esi
je 0x44308c
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x44308c
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0052ea80
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x44308c
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x44308c
cmp esi, 0x14
jge 0x44308c
push 0x10
push 0
push edi
call fcn.005347ac
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44307b
call fcn.00532212
cmp dword [eax], 0x22
je 0x44307b
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00531f3c
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x443051
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.DLL_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5d2050], 0
jne 0x443117
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x443140
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00442a26
pop ecx
pop ecx
test eax, eax
jne 0x443142
inc edi
cmp edi, esi
jl 0x44311d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531f2d
leave
ret 8
Function at 0x444b04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x444b4c
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x444b4c
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x444b8f
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x444b78
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x444b78
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x68], 0
je 0x444b8c
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x448823
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5bec40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
jne 0x448858
xor eax, eax
jmp 0x4488ab
lea eax, [ebp - 0x210]
push eax
call fcn.00531f3c
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x448889
push 0x564494
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005347c6
add esp, 0xc
test eax, eax
jne 0x448854
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005347c6
add esp, 0xc
test eax, eax
jne 0x448854
lea eax, [ebp - 0x210]
push eax
call fcn.00431e86
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00531f2d
leave
ret

Function at 0x4981ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4981c8
call fcn.0043a9f2
mov esi, dword [eax + 0xc]
push dword [0x5d3d3c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4981e6
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4981de
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x498213
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop ebx
jmp 0x4981e0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004980dc
mov esi, eax
jmp 0x498205

Function at 0x50b7f6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00434e3b
call fcn.00406230
cmp eax, esi
pop esi
jne 0x50b812
mov ecx, 0x5d2390
jmp fcn.00449514
ret
Function at 0x513e5f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x513e77
mov edi, dword [esi + 0xc]
jmp 0x513eb7
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x513e90
call fcn.0042e6d6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
jne 0x513ea5
call fcn.0042e6d6
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
jne 0x513eb7
call fcn.0042e6d6
call fcn.0043a9f2
cmp dword [eax + 0x3c], 0
je 0x513ecc
push edi
mov ecx, ebx
call fcn.00512d13
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00513d79
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x513eea
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x513ef6
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x531f2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5bec40]
jne 0x531f37
repz ret
jmp fcn.005407f2
Function at 0x544bc8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bec40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0053735b
and dword [ebp - 0x14], 0
cmp dword [0x5d6918], 0
mov dword [ebp - 0x18], eax
jne 0x544c7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x544d23
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x591028
push ebx
call edi
test eax, eax
je 0x544d23
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x591018
push ebx
mov dword [0x5d6918], eax
call edi
push eax
call esi
push 0x591004
push ebx
mov dword [0x5d691c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5d6920], eax
call edi
push eax
call esi
mov dword [0x5d6928], eax
test eax, eax
je 0x544c7b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5d6924], eax
mov eax, dword [0x5d6924]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x544cd4
cmp dword [0x5d6928], ecx
je 0x544cd4
push eax
call esi
push dword [0x5d6928]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x544cd4
test ebx, ebx
je 0x544cd4
call edi
test eax, eax
je 0x544ccb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x544ccb
test byte [ebp - 8], 1
jne 0x544cd4
or dword [ebp + 0x10], 0x200000
jmp 0x544d07
mov eax, dword [0x5d691c]
cmp eax, dword [ebp - 0x18]
je 0x544d07
push eax
call esi
test eax, eax
je 0x544d07
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x544d07
mov eax, dword [0x5d6920]
cmp eax, dword [ebp - 0x18]
je 0x544d07
push eax
call esi
test eax, eax
je 0x544d07
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d6918]
call esi
test eax, eax
je 0x544d23
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x544d25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531f2d
leave
ret

Function at 0x54cef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5d6c98]
mov dword [ebp - 4], eax
jmp 0x54cf09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x54cf26
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 0x54cf00
mov esp, ebp
pop ebp
ret
Function at 0x54cf30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x5d6ca8], eax
je 0x54cf4e
mov eax, 0x10dd
jmp 0x54d02f
mov eax, dword [0x5d6cb8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54cfcc
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 0x54cfaa
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x54cfaa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0054d0a0
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.0042cd9b
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x54cf56
mov dword [0x5d6cb8], 0
call fcn.0054d040
mov ecx, dword [0x5d6cb4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x54d019
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.0042cd9b
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x54cfe4
mov dword [0x5d6cb4], 0
mov dword [0x5d6ca8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x54d5a0
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 0x54d5b5
xor eax, eax
jmp 0x54d62a
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 0x54d5e2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x54d625
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x54d623
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 0x54d61f
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 0x54d623
xor eax, eax
jmp 0x54d62a
jmp 0x54d5d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x54d6d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x5d6cac], 0
je 0x54d6e9
mov eax, dword [0x5d6cac]
jmp 0x54d789
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x54d6fb
xor eax, eax
jmp 0x54d789
push 8
call fcn.0042cd61
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x54d751
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x54d73a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042cd9b
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x5d6cac], eax
mov dword [0x5d6cb0], 0
mov eax, dword [ebp - 4]
jmp 0x54d789
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x54d76b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
jmp 0x54d71b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x5d6cb4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x5d6cb4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x54dfb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0054e080
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x54e06c
cmp dword [ebp - 4], 0x50000000
jb 0x54dfec
cmp dword [ebp - 4], 0x80000000
ja 0x54dfec
mov dword [ebp - 4], 0x80010000
jmp 0x54dfc5
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0052ea80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
jne 0x54e012
jmp 0x54e06c
cmp dword [ebp - 0x10], 0x10000
jne 0x54e055
cmp dword [ebp - 0x14], 0x10000
jb 0x54e055
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x54e048
mov eax, dword [ebp - 0x24]
jmp 0x54e06e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x54e067
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0054e080
add esp, 4
mov dword [ebp - 4], eax
jmp 0x54dfc5
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x54e0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0054e180
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x54e174
cmp dword [ebp - 4], 0x50000000
jb 0x54e0f1
cmp dword [ebp - 4], 0x80000000
ja 0x54e0f1
mov dword [ebp - 4], 0x4fff0000
jmp 0x54e0ca
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0052ea80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
jne 0x54e117
jmp 0x54e174
cmp dword [ebp - 0x10], 0x10000
jne 0x54e15a
cmp dword [ebp - 0x14], 0x10000
jb 0x54e15a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x54e14d
mov eax, dword [ebp - 0x24]
jmp 0x54e176
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x54e16f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0054e180
add esp, 4
mov dword [ebp - 4], eax
jmp 0x54e0ca
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x54f8c0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0052ea80
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret