joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4589e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00439b0c
test al, al
je 0x4589e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043963c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4589e3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043963c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x45a344
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45a3cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ec2c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45a3b7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00409700
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x45a3e4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x45dee8]
mov dl, 1
mov eax, dword [0x4597e0]
call fcn.0040a04c
call fcn.00403d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a3d4
lea eax, [ebp - 0x1c]
call fcn.00404354
ret

Function at 0x45aa98
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045a9bc
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403778
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45aafc
call fcn.0045a28c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45aaee
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403778
pop esi
pop ebx
ret

Function at 0x45ab20
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404804
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402e48
test ebx, ebx
je 0x45ab6b
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x45ac48
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45ac79
mov ecx, dword [0x45dfb4]
mov dl, 1
mov eax, dword [0x4597e0]
call fcn.0040a010
call fcn.00403d30
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45aca6
mov ecx, dword [0x45de04]
mov dl, 1
mov eax, dword [0x4597e0]
call fcn.0040a010
call fcn.00403d30
xor eax, eax
push ebp
push 0x45ad27
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403778
cmp byte [ebp + 8], 0
je 0x45ad01
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045abb0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045aa18
jmp 0x45ad1d
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045a578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ad44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45af0c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045a840
xor eax, eax
push ebp
push 0x45b07e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45b068
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45af57
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45af61
call fcn.00403ddc
jmp 0x45b085
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415d64
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x45b05d
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45b00f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45affc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403778
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045aec4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45b090]
cmp dl, byte [eax + 0x28]
je 0x45b064
call fcn.00409ef8
jmp 0x45b064
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415d84
jmp 0x45b064
cmp ecx, ebx
jge 0x45b02b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415d84
jmp 0x45af61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415d64
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415d98
cmp edx, dword [esp + 4]
jne 0x45b04c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45af61
push ebp
call fcn.0045aec4
pop ecx
jmp 0x45b064
push ebp
call fcn.0045aec4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b085
mov eax, dword [ebp - 4]
call fcn.0045a84c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b0d8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b222
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045a840
xor eax, eax
push ebp
push 0x45b205
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45b13d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45b13d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45b1ef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45b150
call fcn.00403ddc
jmp 0x45b20c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45b1ef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45b1ef
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403778
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45b1ef
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409700
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45b23c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x45dee8]
mov dl, 1
mov eax, dword [0x4597e0]
call fcn.0040a04c
call fcn.00403d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b20c
mov eax, dword [ebp - 4]
call fcn.0045a84c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b229
lea eax, [ebp - 0x28]
call fcn.00404354
ret
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a94], 0
push esi
jne 0x405e04
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dde
mov dword [ecx*4 + 0x422a90], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a90]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x403cac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x466008], 0x8088405
inc edx
mov dword [ebx + 0x466008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x403190
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4031b8
xor eax, eax
ret
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
ret

Function at 0x4033b0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x40346c
push str.FoxitReader.Document
push 0x539120
push 0x5021ac
push SysReAllocString
call fcn.00403190
push str.application_pdf
push str.Content_Type
push 0x5021ac
push SysReAllocString
call fcn.00403190
push 0x502704
push str.BrowseInPlace
push str.FoxitReader.Document
push SysReAllocString
call fcn.00403190
push str.14E8BBD8_1D1C_4D56_A4DA_D20B75EB814E
push str.CLSID
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocString
call fcn.00403190
add esp, 0x40
push 0x5021ac
push str.Extension
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocString
call fcn.00403190
add esp, 0x10
lea eax, [esp + 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40346c
mov ecx, dword [esp + 4]
push str.Application
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
ret 4
Function at 0x404278
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d0e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
mov esi, ecx
push edi
push 0x50284c
mov ecx, dword [esi]
call fcn.00419bc0
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004040e0
mov ecx, dword [esi]
push str._NewWindow
mov dword [esp + 0x70], 0
call fcn.00419bc0
mov ecx, eax
call fcn.00418f40
mov ecx, dword [esi]
push str._Win
mov edi, eax
call fcn.00419d50
test eax, eax
je 0x4043cc
mov ecx, dword [esi]
push str._Win
call fcn.00419bc0
mov esi, eax
push 0x50284c
mov ecx, esi
call fcn.00419d50
test eax, eax
je 0x404319
lea ecx, [esp + 0xc]
push ecx
push 0x50284c
mov ecx, esi
call fcn.00419bc0
mov ecx, eax
call fcn.00418d60
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 1
call fcn.004ab138
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 0
call fcn.004aafff
test edi, edi
je 0x404373
mov edx, dword [esp + 8]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 0x44
mov eax, dword [edx - 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.004ab42f
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004ab47e
mov eax, dword [esp + 0x10]
jmp 0x40438b
mov eax, dword [esp + 8]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
jne 0x4043cc
push 0x539120
lea ecx, [esp + 0x10]
call fcn.004ab06d
push 0x7d2
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 2
call fcn.004ac22e
mov ecx, dword [esp + 0xc]
push 0
push 0
push ecx
call fcn.004b3149
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 0
call fcn.004aafff
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004aafff
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret
Function at 0x40aaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
push 1
lea ecx, [esp + 0xc]
call fcn.00411d10
mov esi, dword [esp + 0x40]
lea ecx, [esp + 8]
push esi
mov dword [esp + 0x3c], 0
call fcn.00411d40
mov edi, dword [esp + 0x44]
mov ecx, esi
push edi
call fcn.00411de0
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.00411de0
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.004040d0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x410490
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1978
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x20]
push 0x539120
push eax
mov dword [esp + 0x20], 0
call fcn.00483e3f
add esp, 8
test eax, eax
jne 0x4104df
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004aafff
xor eax, eax
jmp 0x4105b1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx - 8]
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
jne 0x410544
push ebp
push ebp
push str.Can_not_open_Clipboard
call fcn.004b3149
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004aafff
xor eax, eax
jmp 0x4105b1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
call fcn.004ab42f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.004ab47e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004aafff
mov eax, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x412760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004a4e34
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.004a4b97
mov ecx, dword [esp + 0xc]
mov eax, 0xbff00000
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4127c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1c23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], 1
jle 0x412813
push ebx
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x41280a
mov ecx, ebx
call fcn.004040d0
push ebx
call fcn.004a6253
add esp, 4
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x4127f0
pop ebx
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.004a4bca
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004a4e67
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41cea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov ecx, dword [esi + 0x14]
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], edi
call fcn.00427000
mov ebx, dword [eax]
xor eax, eax
mov dword [esp + 0x14], edi
cmp dword [ebx + 8], 4
setne al
dec eax
and eax, ebx
mov dword [esp + 0x18], eax
je 0x41cefb
mov eax, dword [eax + 0x78]
cmp eax, edi
je 0x41cef5
mov eax, dword [eax + 4]
jmp 0x41cef7
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x14]
push 1
call fcn.00427000
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x50]
cmp eax, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
jle 0x41d052
mov eax, dword [esi + 0x54]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
mov edx, dword [eax - 8]
mov dword [esp + 0x1c], edi
cmp edx, edi
mov dword [esp + 0x2c], edx
jle 0x41d021
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
lea esi, [ecx + edx*8]
jmp 0x41cf50
mov eax, dword [esp + 0x24]
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
mov dword [esi], edx
mov edx, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
inc edx
add esi, 8
mov dword [esp + 0xc], edx
test eax, eax
je 0x41cfa1
mov ecx, dword [esp + 0x18]
push edi
call fcn.00417d30
mov ecx, dword [esp + 0x18]
push eax
call fcn.00417cf0
movsx ecx, ax
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
jmp 0x41cfb1
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x28]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
mov edx, dword [esp + 0xc]
add esi, 8
inc edx
cmp edi, 0x20
fmul qword [0x4d89f8]
mov dword [esp + 0xc], edx
fadd qword [esp + 0x30]
fst qword [esi - 8]
fstp qword [esp + 0x30]
jne 0x41cfef
mov eax, dword [esp + 0x10]
push 3
mov ecx, dword [eax + 0x14]
call fcn.00427000
fld qword [eax]
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 2
mov ecx, dword [ecx + 0x14]
call fcn.00427000
fld qword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
fadd qword [esp + 0x30]
cmp eax, edx
fstp qword [esp + 0x30]
jl 0x41cf4c
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [esi + 0x50]
cmp eax, 1
jle 0x41d045
cmp ecx, eax
jge 0x41d045
mov edx, dword [esi + 0x58]
fld qword [esp + 0x38]
fmul qword [edx + ecx*8]
fmul qword [0x4d89f8]
fsubr qword [esp + 0x30]
fstp qword [esp + 0x30]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x41cf23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e9e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
push 0x78
call fcn.004a622a
add esp, 4
mov dword [esp + 0xc], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x41ea24
mov ecx, eax
call fcn.00433500
mov esi, eax
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
push ebx
mov dword [esp + 0x4c], 0xffffffff
call fcn.0041af70
mov dword [esi + 0x40], eax
mov ebx, dword [ebx + 0xc]
push 0
push 0
push str._ColorSpace
mov ecx, ebx
call fcn.00419d50
neg eax
sbb eax, eax
mov ecx, edi
inc eax
push eax
push esi
call fcn.0041dc50
mov eax, dword [edi + 0x58]
lea ecx, [esp + 0x10]
add eax, 0x48
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], 0x3ff00000
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3ff00000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00422170
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.00422300
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea eax, [esi + 0x58]
mov dword [esi + 0x50], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x54], edx
call fcn.00421f70
mov ecx, esi
call fcn.00434a00
mov ecx, dword [edi + 8]
push esi
add ecx, 0x44
call fcn.004a562f
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4375e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
push edi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
xor edi, edi
test edx, edx
jle 0x437641
push ebx
push ebp
mov ebp, dword [esp + 0x18]
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [edi + ebp]
xor bl, dl
mov edx, dword [esp + 0x1c]
mov byte [edi + ebp], bl
inc edi
cmp edi, edx
jl 0x4375fb
pop ebp
pop ebx
mov dword [eax + 4], esi
pop edi
mov dword [eax], ecx
pop esi
ret
mov dword [eax + 4], esi
pop edi
mov dword [eax], ecx
pop esi
ret

Function at 0x437690
Capabilities:
Hash data with md5

Disassembly:
push 0x58
call fcn.004a622a
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret