joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x44
push eax
push 0
push 0
push 4
push 0
xorps xmm0, xmm0
mov dword [esp + 0x24], str.leticiel.dll
push 0
push 0
push 0
push str.ism.exe
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movaps xmmword [esp + 0x38], xmm0
call esi
test eax, eax
je 0x4010c4
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
call fcn.00401a70
test eax, eax
jne 0x4010dd
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00402220
test eax, eax
jne 0x4010dd
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
push 0
push 0
push str.failed_to_inject_dll
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401220
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x64
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x74]
mov esi, edx
push pe_nt_image_headers32
push 0
push edi
mov ebx, ecx
call fcn.00403e60
add esp, 0xc
test esi, esi
jne 0x401254
push 0x57
jmp 0x4012e8
push 0x1c
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
xorps xmm0, xmm0
push esi
push ebx
movups xmmword [esp + 0x1c], xmm0
movq qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4012ee
push 0
push 0x40
lea eax, [esp + 0x30]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4012ee
mov eax, 0x5a4d
cmp word [esp + 0x28], ax
jne 0x4012e3
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x18]
ja 0x4012e3
cmp eax, 0x40
jb 0x4012e3
push 0
push pe_nt_image_headers32
push edi
add eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4012ee
cmp dword [edi], 0x4550
jne 0x4012e3
mov eax, dword [esp + 0x64]
add eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00402c4e
add esp, 0x64
ret
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402c4e
add esp, 0x64
ret
Function at 0x401df0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1d4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x1d8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x401e42
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402c4e
add esp, 0x1d4
ret 8
mov ebx, dword [esp + 0x1ec]
push 4
push 0x1000
lea eax, [ebx + 0x1b8]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x401e25
push 0x40
lea eax, [esp + 0xa4]
mov dword [esp + 0x18], 0
push 0
push eax
call fcn.00403e60
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add esp, 0xc
mov eax, 0x5a4d
mov dword [esp + 0xdc], 0x40
mov word [esp + 0xa0], ax
lea eax, [esp + 0x14]
push eax
push 0x40
lea eax, [esp + 0xa8]
push eax
push esi
push edi
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], 0x40
jne 0x401e25
push pe_nt_image_headers32
lea eax, [esp + 0xe4]
add esi, 0x40
push 0
push eax
call fcn.00403e60
add esp, 0xc
mov dword [esp + 0xe0], 0x4550
mov eax, 1
mov dword [esp + 0xf4], 0x200000e0
mov word [esp + 0xe6], ax
mov eax, 0x10b
mov word [esp + 0xf8], ax
lea eax, [esp + 0x14]
push eax
push pe_nt_image_headers32
lea eax, [esp + 0xe8]
push eax
push esi
push edi
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], 0xf8
jne 0x401e25
lea eax, [ebx + 0x58]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
add esi, 0xf8
lea eax, [esp + 0x14]
mov dword [esp + 0x5c], 0
push eax
push 0x28
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x7465642e
push eax
xorps xmm0, xmm0
mov dword [esp + 0x48], 0x72756f
push esi
push edi
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x58], 0x160
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], 0x28
jne 0x401e25
lea eax, [ebx + 0x58]
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x6c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movlpd qword [esp + 0x70], xmm0
push eax
push 0x40
lea eax, [esp + 0x68]
movlpd qword [esp + 0x80], xmm0
push eax
add esi, 0x28
movlpd qword [esp + 0x8c], xmm0
push esi
push edi
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
mov dword [esp + 0x78], 0x727444
mov dword [esp + 0x7c], 0x40
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], 0x40
jne 0x401e25
lea eax, [ebx + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
add esi, 0x40
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movups xmm0, xmmword [eax]
lea eax, [esp + 0x14]
push eax
push 0x18
lea eax, [esp + 0x28]
push eax
push esi
push edi
movups xmmword [esp + 0x3c], xmm0
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], 0x18
jne 0x401e25
lea eax, [esp + 0x14]
add esi, 0x18
push eax
push ebx
push dword [esp + 0x24]
push esi
push edi
call ebp
test eax, eax
je 0x401e25
cmp dword [esp + 0x14], ebx
jne 0x401e25
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x401e27
Function at 0x4034c5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403504
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403504
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403504
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403504
cmp dword [ecx + 0x74], 0xe
jbe 0x403504
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40b3d9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40b424
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040b5f6
test al, al
jne 0x40b41e
sub edx, 2
cmp edx, edi
jne 0x40b404
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40b446
lea eax, [edi + 2]
cmp edx, eax
je 0x40b446
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040b325
add esp, 0x10
jmp 0x40b540
push esi
lea ecx, [ebp - 0x255]
call fcn.0040b5f6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b489
push dword [ebp - 0x25c]
jmp 0x40b436
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40b4c6
cmp word [ebp - 0x226], 0
je 0x40b4e7
cmp word [ebp - 0x226], ax
jne 0x40b4c6
cmp word [ebp - 0x224], 0
je 0x40b4e7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040b325
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40b533
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40b4a0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40b51b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40b540
push 0x40b155
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040fb60
add esp, 0x10
jmp 0x40b510
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402c4e
leave
ret

Function at 0x40ce33
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4171c4
push 0x4171bc
push str.FlsAlloc
push 0x1f
call fcn.0040cd6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ce67
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
jmp 0x40ce6d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40ceb1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4171d4
push 0x4171cc
push str.FlsGetValue
push 0x21
call fcn.0040cd6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40cee8
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40cef0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4171dc
push 0x4171d4
push str.FlsSetValue
push 0x22
call fcn.0040cd6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40cf2a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41513c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x413a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x413a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100018ee
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [0x1000e65c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x1000e658], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1000e654], eax
lea eax, [ebp - 8]
push eax
call fcn.1000194f
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000192f
mov dword [ebp - 0x10], 0x1000e09c
jmp 0x10001936
mov dword [ebp - 0x10], 0x1000e098
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
call section..text
pop ecx
push eax
call fcn.100019a0
and byte [ebp - 8], 0
leave
ret
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232c4], 0
push esi
jne 0x40655a
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 0x406534
mov dword [ecx*4 + 0x4232c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
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 + 0x4232c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x42de0a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x49d390]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call 0x4310a5
call dword [0x483210]
mov dword [esp + 0x10], eax
jmp 0x42de6f
xor esi, esi
mov ebx, dword [0x483210]
call ebx
sub eax, dword [esp + 0x10]
cmp eax, 0x3e8
jb 0x42de94
call ebx
cmp dword [ebp + 8], esi
mov dword [esp + 0x10], eax
je 0x42de94
mov ecx, edi
call fcn.0042e87a
mov eax, dword [edi + 0x108]
cmp eax, esi
mov ecx, dword [edi + 0x104]
je 0x42df1a
cmp eax, 0xffffffff
je 0x42df1a
cmp ecx, esi
push 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
pop eax
je 0x42debd
cmp ecx, 0xffffffff
jne 0x42dec0
xor eax, eax
inc eax
push 1
push 0x64
push esi
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [0x48312c]
cmp eax, esi
je 0x42df1a
cmp eax, 1
jne 0x42de6f
cmp dword [esp + 0x20], esi
je 0x42deea
push dword [esp + 0x20]
call fcn.0045d224
pop ecx
cmp dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x42df06
push dword [esp + 0x30]
call fcn.0045d224
pop ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 0x140]
push eax
call dword [0x483318]
lea esi, [edi + 0x114]
mov ebx, esi
lea eax, [esp + 0x2c]
call 0x430fbf
call 0x4311e2
lea esi, [edi + 0x124]
mov ebx, esi
lea eax, [esp + 0x1c]
call 0x431dfa
call 0x431f3e
lea eax, [edi + 0x140]
push eax
call dword [0x483338]
lea eax, [esp + 0x2c]
call 0x43116d
mov esi, eax
test esi, esi
je 0x42df8d
ja 0x42df76
call fcn.0045e297
test esi, esi
jle 0x42df8d
mov ebx, dword [esp + 0x30]
mov edx, ebx
mov ecx, edi
call 0x4302c4
add ebx, 0x68
dec esi
jne 0x42df7e
cmp dword [esp + 0x20], 0
je 0x42de6d
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
sar esi, 6
je 0x42de6d
test esi, esi
ja 0x42dfb4
call fcn.0045e297
test esi, esi
jle 0x42de6d
mov ebx, dword [esp + 0x20]
mov edx, ebx
mov ecx, edi
call 0x42ff40
add ebx, 0x40
dec esi
jne 0x42dfbe
jmp 0x42de6d
Function at 0x437dbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor edx, edx
push 0xa
pop ebx
div ebx
or esi, 0xffffffff
xor ecx, ecx
mov edx, 0xff
test eax, eax
mov dword [ebp - 4], eax
jbe 0x437e09
xor eax, eax
cmp ecx, 0xa
jae 0x437e09
mov ebx, dword [ecx*4 + 0x4873c0]
add ebx, eax
movzx ebx, byte [ebx + edi]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x486fc0]
inc ecx
add eax, 0xa
cmp ecx, dword [ebp - 4]
jb 0x437de0
cmp dword [ebp + 8], 0
je 0x437e2c
mov eax, edi
movzx ecx, byte [eax]
dec dword [ebp + 8]
xor ecx, esi
and ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x486fc0]
inc eax
cmp dword [ebp + 8], 0
jne 0x437e11
mov eax, esi
pop esi
not eax
pop ebx
leave
ret

Function at 0x437e34
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x41d28b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429050]
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.0041a188
and dword [ebp - 0x14], 0
cmp dword [0x42aeb0], 0
mov dword [ebp - 0x18], eax
jne 0x41d33e
push 0x401fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41d3e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401f94
push ebx
call edi
test eax, eax
je 0x41d3e6
mov esi, dword [fcn.004028b4]
push eax
call esi
push 0x401f84
push ebx
mov dword [0x42aeb0], eax
call edi
push eax
call esi
push 0x401f70
push ebx
mov dword [0x42aeb4], eax
call edi
push eax
call esi
push 0x401f54
push ebx
mov dword [0x42aeb8], eax
call edi
push eax
call esi
mov dword [0x42aec0], eax
test eax, eax
je 0x41d33e
push 0x401f3c
push ebx
call edi
push eax
call esi
mov dword [0x42aebc], eax
mov eax, dword [0x42aebc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004028b0]
cmp eax, ecx
je 0x41d397
cmp dword [0x42aec0], ecx
je 0x41d397
push eax
call esi
push dword [0x42aec0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41d397
test ebx, ebx
je 0x41d397
call edi
test eax, eax
je 0x41d38e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41d38e
test byte [ebp - 8], 1
jne 0x41d397
or dword [ebp + 0x10], 0x200000
jmp 0x41d3ca
mov eax, dword [0x42aeb4]
cmp eax, dword [ebp - 0x18]
je 0x41d3ca
push eax
call esi
test eax, eax
je 0x41d3ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d3ca
mov eax, dword [0x42aeb8]
cmp eax, dword [ebp - 0x18]
je 0x41d3ca
push eax
call esi
test eax, eax
je 0x41d3ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42aeb0]
call esi
test eax, eax
je 0x41d3e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41d3e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ef1
leave
ret
Function at 0x401750
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov edx, 0x10b
movzx eax, word [ecx + 0x18]
cmp ax, dx
je 0x401778
mov edx, 0x20b
cmp ax, dx
jne 0x4017e0
movzx eax, word [ecx + 0x14]
lea esi, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
cmp edi, dword [esi + 0x14]
jae 0x401799
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor eax, eax
cmp cx, bx
jae 0x4017e0
movzx edx, ax
lea ecx, [edx + edx*4]
mov esi, dword [esi + ecx*8 + 0xc]
cmp edi, esi
jb 0x4017c0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + ecx*8 + 0x10]
mov ebx, dword [ebp - 8]
add ecx, esi
cmp edi, ecx
jb 0x4017cb
inc eax
cmp ax, bx
invalid

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
mov eax, dword [edx + 0x3c]
mov dword [ebp - 8], edx
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
add ecx, edx
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 4], ecx
test eax, eax
je 0x4033d7
mov esi, dword [ecx + 0x20]
xor edi, edi
mov ebx, dword [ecx + 0x24]
add esi, edx
add ebx, edx
cmp dword [ecx + 0x18], edi
jbe 0x4033d7
mov ecx, dword [esi]
add ecx, edx
xor edx, edx
cmp byte [ecx], dl
je 0x4033b7
nop word [eax + eax]
inc edx
cmp byte [edx + ecx], 0
jne 0x4033b0
push ecx
call fcn.00405590
add esp, 4
cmp eax, dword [ebp - 0xc]
je 0x4033e9
mov eax, dword [ebp - 4]
inc edi
mov edx, dword [ebp - 8]
add esi, 4
add ebx, 2
cmp edi, dword [eax + 0x18]
jb 0x4033a0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
call fcn.00402f40
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, esi
call fcn.00402c40
add esp, 8
test eax, eax
je 0x403417
mov ecx, esi
call fcn.00401c20
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret