joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe50
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x40fef2
push edi
push 0x414a48
call fcn.0040cd07
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], str.CryptAcquireContextW
push eax
mov dword [esi], eax
call edi
push str.CryptReleaseContext
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.CryptCreateHash
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.CryptGetHashParam
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.CryptHashData
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.CryptDestroyHash
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.CryptDuplicateKey
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.CryptDecrypt
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.CryptDeriveKey
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.CryptImportKey
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.CryptDestroyKey
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
pop edi
ret
Function at 0x412dec
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x1388
call fcn.0040cc19
mov edi, eax
cmp edi, 0xffffffff
pop ecx
je 0x412fa6
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
lea eax, [ebp - 0x24]
call fcn.0040b37d
push esi
push dword [ebp - 0x24]
push edi
call fcn.0040c080
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
push ebx
push 4
mov dword [ebp - 0x10], esi
pop edi
lea esi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
call fcn.0040b2d5
push ebx
push 0x10
pop edi
call fcn.0040b2d5
mov ecx, esi
call fcn.0040bad9
push ebx
push 8
pop edi
call fcn.0040b2d5
push ebx
push 4
pop edi
call fcn.0040b2d5
push ebx
call fcn.0040b2d5
push ebx
push 0x10
pop edi
call fcn.0040b2d5
push ebx
call fcn.0040b2d5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
mov ecx, esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040b7f1
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x412f97
mov edx, dword [ebp + 0xc]
cmp edx, ebx
jbe 0x412f97
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x412f97
xor eax, eax
cmp dword [ebp + 0x10], ebx
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
je 0x412eff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2b4]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406adb
mov dword [ebp - 8], eax
jmp 0x412f4e
lea edx, [ebp - 0x344]
call fcn.0040e921
mov edi, dword [ebp + 8]
lea eax, [edi + 0x4c]
push eax
lea esi, [ebp - 0x28c]
call fcn.0040114a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
lea ebx, [ebp - 0x344]
call fcn.0040f6c8
test eax, eax
mov dword [ebp - 8], eax
jne 0x412f3e
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x2b0], eax
lea edi, [ebp - 0x344]
call fcn.0040ea2f
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x412fb5
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push edi
push esi
call fcn.00412d64
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x412f8c
lea ebx, [esi + 0x320]
mov eax, ebx
call fcn.0040b3a0
push edi
push dword [ebp - 0x14]
push dword [ebx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esi + 0x2b0], 0xffffffeb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x412fb5
mov eax, dword [ebp + 8]
mov dword [eax + 0x2b0], 0xffffffec
jmp 0x412fb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2b0], eax
lea esi, [ebp - 0x24]
call fcn.0040b321
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x6d791f94
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x7e006b8c
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4017d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4d90c0]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
push edi
mov edi, ecx
test esi, esi
je 0x401969
cmp dword [edi + 4], 0xffffffff
je 0x401809
call fcn.00401740
mov al, byte [esi]
sub al, 0x30
push esi
cmp al, 9
ja 0x401831
xorps xmm0, xmm0
mov eax, 2
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x24], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x24], eax
jmp 0x401869
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x401969
xorps xmm0, xmm0
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x20], xmm0
movsx ecx, word [esi + 0xa]
push ecx
mov ecx, dword [esi + 0xc]
push dword [ecx]
push eax
call fcn.00473f20
mov ax, word [esi + 8]
add esp, 0xc
mov word [esp + 0x20], ax
push 0x3afc
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x2e], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x4018a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00472221
mov esp, ebp
pop ebp
ret 0xc
push 4
lea eax, [esp + 0x3c]
mov dword [edi + 4], esi
push eax
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x4c], 0x40000
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x40190c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00472221
mov esp, ebp
pop ebp
ret 0xc
push 0x31
push 0x401
push dword [esp + 0x1c]
push esi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401930
sub ecx, esi
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.004024f0
mov dword [edi + 0x24], 0x3afc
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00472221
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x3c]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00472221
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401980
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d90c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x401b71
cmp dword [esi + 0x40028], 0
je 0x401b71
lea ecx, [ebp - 8]
xor ebx, ebx
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 8], ebx
jbe 0x401b66
mov ecx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esi + 0x28]
mov dword [ebp - 0x18], ecx
push 0
push 0x40000
push eax
push dword [esi + 4]
call ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x401b4a
test edi, edi
je 0x401b39
add ebx, edi
mov dword [ebp - 0x14], ebx
test edi, edi
jle 0x401b39
lea eax, [esi + 0x40030]
mov ebx, eax
mov dword [ebp - 0x10], ebx
nop dword [eax]
mov edx, dword [esi + 0x4003c]
mov ecx, edx
sub ecx, dword [esi + 0x40038]
jns 0x401a27
add ecx, dword [eax]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebx]
mov eax, ebx
sub eax, ecx
cmp edi, eax
jl 0x401aa3
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + ebx]
push eax
mov dword [ecx], eax
call fcn.00472277
add esp, 4
mov dword [ebp - 0xc], eax
push ebx
push dword [esi + 0x40034]
push eax
call fcn.00473f20
mov eax, dword [esi + 0x4003c]
add esp, 0xc
cmp eax, dword [esi + 0x40038]
jge 0x401a7e
push eax
push dword [esi + 0x40034]
mov eax, dword [ebp - 0xc]
add eax, ebx
push eax
call fcn.00473f20
add esp, 0xc
add dword [esi + 0x4003c], ebx
push dword [esi + 0x40034]
call fcn.0047222f
mov eax, dword [ebp - 0xc]
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x40034], eax
lea eax, [esi + 0x40030]
jmp 0x401a10
mov ebx, dword [esi + 0x40030]
lea eax, [edx + edi]
cmp eax, ebx
jl 0x401b1a
sub ebx, edx
sub edi, ebx
test ebx, ebx
jne 0x401ad1
push 0x37
push str.C:UsersAdministratorDesktopSourcelerMySource2___Launcher_SourceAPISocket.h
push 0x4ccec4
push str.ERROR____s_n_s:__d_n_n
call fcn.00401290
add esp, 0x10
push ebx
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x4003c]
add eax, dword [esi + 0x40034]
push eax
call fcn.00473f20
add esp, 0xc
lea eax, [esi + 0x4003c]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x401b14
lea eax, [esi + 0x28]
push edi
add eax, ebx
push eax
push dword [esi + 0x40034]
call fcn.00473f20
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax], edi
jmp 0x401b36
xor edi, edi
mov dword [eax], edi
jmp 0x401b36
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.00473f20
add esp, 0xc
add dword [esi + 0x4003c], edi
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 0x28]
mov ecx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 8]
jb 0x4019d5
jmp 0x401b66
push 0xc6
push str.C:UsersAdministratorDesktopSourcelerMySource2___Launcher_SourceAPISocket.cpp
push str.socket_receive_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00401290
add esp, 0x10
mov ecx, esi
call fcn.00401b90
test eax, eax
jne 0x401b66
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472221
mov esp, ebp
pop ebp
ret
Function at 0x402190
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a58d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40058], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
je 0x40234c
cmp dword [ebx + 4], 0xffffffff
je 0x40234c
cmp dword [ebx + 0x40028], 0
je 0x40234c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.DataPack.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [0x4dcb34], eax
je 0x4022a9
mov eax, dword [0x4dcb30]
push esi
inc eax
push edi
push 0x4dd3c4
mov dword [0x4dcb30], eax
mov dword [0x4dd3c0], eax
call fcn.00473f20
lea edi, [esi + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test edi, edi
je 0x40226b
nop dword [eax]
movzx eax, byte [edx + 0x4dd3c0]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ccfc8]
cmp edx, edi
jb 0x402250
push 0x4dd3c0
lea eax, [esi + 8]
mov dword [esi + 0x4dd3c4], ecx
push 0x4dd3c0
mov esi, eax
push eax
mov dword [ebp - 0x20], esi
call fcn.0041cdc0
push esi
mov dword [ebp - 0x18], esi
call fcn.00472277
push esi
mov edi, eax
mov dword [ebp - 0x24], eax
push 0x4dd3c0
push edi
mov dword [ebp - 0x28], edi
call fcn.00473f20
add esp, 0x10
lea eax, [esi + 6]
cmp eax, 0xc8
jg 0x402341
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [ebx + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.00473f20
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp - 0x20]
mov word [ecx + edi], ax
lea esi, [ecx + 6]
xor eax, eax
test esi, esi
jle 0x40233b
push 0
mov edi, eax
lea eax, [ebx + 0x28]
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40231f
test ecx, ecx
lea eax, [ecx + edi]
cmove eax, edi
cmp eax, esi
jl 0x4022f8
jmp 0x40233b
push 0x151
push str.C:UsersAdministratorDesktopSourcelerMySource2___Launcher_SourceAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00401290
add esp, 0x10
add dword [ebx + 0x40040], esi
push dword [ebp - 0x28]
call fcn.0047222f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472221
mov esp, ebp
pop ebp
ret 8
Function at 0x405210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x405242
jl 0x405235
test ecx, ecx
jne 0x405242
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x405302
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00406b70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4052ae
jg 0x40526d
test esi, esi
je 0x4052ae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x405285
mov eax, dword [esp + 0x10]
jl 0x40527f
cmp eax, esi
jae 0x405285
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00473f20
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4052cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4052eb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x405254
jl 0x4052eb
test ecx, ecx
jne 0x405254
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x405340
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x405340
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.00473f20
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x4053a9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x405366
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x405394
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0047a42f
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4053a9
cmp edi, eax
ja 0x405372
test edi, edi
je 0x4053a9
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0047a42f
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407130
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00472234
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00470d24
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.004070d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409890
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ae25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4d90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4dcb78]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsCount]
test eax, eax
je 0x4098db
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472277
mov edi, dword [0x4dcb78]
add esp, 4
mov dword [0x4dcb50], eax
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsList]
test eax, eax
je 0x409916
mov dword [edi + 8], eax
mov esi, dword [0x4dcb78]
lea eax, [ebp - 0x14]
push eax
push dword [0x4dcb50]
mov dword [ebp - 0x14], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameCount]
test eax, eax
je 0x40993d
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [0x4dcb78]
mov dword [0x4dcb44], eax
lea eax, [ebp - 0x1c]
push eax
push 0x5100
push dword [esi + 4]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItemSize]
test eax, eax
je 0x40996b
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x1c]
push esi
call fcn.0047c857
mov edi, dword [0x4dcb78]
add esp, 4
mov dword [0x4dcb64], eax
push eax
push esi
push 0x5100
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItem]
test eax, eax
je 0x409999
mov dword [edi + 8], eax
cmp dword [0x4dcb44], 1
jbe 0x409a05
push str.NOTICED:_GDIHelper::InitializeImage____Image_file_has_more_than_1_frame__its_playable__2_._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
mov dword [0x4dcb40], 1
call fcn.00472234
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x409470
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x409ca0
push 0
push 0
call fcn.0047c78a
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x409a25
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.004092f0
cmp dword [ebp - 0x14], 0
jne 0x409a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472221
mov esp, ebp
pop ebp
ret
call fcn.0047c81b
push 6
mov dword [ebp - 0x14], 0
call fcn.00470b7e
int3
Function at 0x40edd0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b1fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4d90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Path.ini
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.004080c0
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40ee46
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.00412a60
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push eax
push 0xa
push str.Count
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], eax
cmp ecx, 0xf
jbe 0x40eede
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef86
push ecx
push edx
call fcn.00472269
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x40ef27
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ef1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef86
push ecx
push edx
call fcn.00472269
add esp, 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test eax, eax
js 0x40ef45
cmp eax, 0xa
jle 0x40ef4c
mov dword [edi + 4], 0
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x40ef72
nop dword [eax]
push 0
push esi
mov ecx, edi
call fcn.0040fa90
add esi, 0x18
cmp esi, dword [ebp - 0x14]
jne 0x40ef60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00479f90
int3
Function at 0x41cdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x41ce1e
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x4dd130]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x41cdf0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc