joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e749
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x41270e
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x421870
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x421892
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421899
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421888
mov eax, 1
add ebx, ebx
jne 0x4218ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4218a0
jne 0x4218bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218a0
xor ecx, ecx
sub eax, 3
jb 0x4218d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421942
mov ebp, eax
add ebx, ebx
jne 0x4218db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4218e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42190c
inc ecx
add ebx, ebx
jne 0x4218f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4218ed
jne 0x421909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42192c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42191d
jmp 0x42188e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42192c
add edi, ecx
jmp 0x42188e
pop esi
mov edi, esi
mov ecx, 0x436
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42194a
cmp byte [edi], 7
jne 0x42194a
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 0x42194f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25bcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25c38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42197c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25c40]
or eax, eax
je 0x4219b8
mov dword [ebx], eax
add ebx, 4
jmp 0x421999
call dword [esi + 0x25c3c]
mov ebp, dword [esi + 0x25c44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4219f2
sub esp, 0xffffff80
jmp 0x405762
Function at 0x402cfc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402b9c
mov esi, eax
cmp dword [0x407d0c], 0xffffffff
je 0x402d5d
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407d08]
jne 0x402d5d
lea eax, [ebp - 0x1c]
push eax
push dword [0x407d08]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407d14], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407d18], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402e74
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x408840
call fcn.00405f9c
mov esi, dword [eax]
push 0x408840
call fcn.00405f9c
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.00405804
call fcn.00405680
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.0040570c
call fcn.00404300
test eax, eax
jne 0x402fb5
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.004057e4
call fcn.00404300
test eax, eax
jne 0x402f2b
cmp word [ebp - 0x190], 0x5a4d
jne 0x402f2b
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405728
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.004057e4
jmp 0x402f35
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405728
call fcn.00404300
test eax, eax
jne 0x402f99
cmp word [ebp - 0x190], 0x4550
jne 0x402f99
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.004057e4
call fcn.00404300
test eax, eax
jne 0x402f99
cmp dword [ebp - 0x288], 0x4550
jne 0x402f99
cmp word [ebp - 0x22c], 3
jne 0x402f99
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405758
push 0x408838
call fcn.00405f9c
mov dword [eax], 0
push 0x408840
call fcn.00405f9c
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40300c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402b9c
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4030b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407dac], 0
je 0x4030d2
mov eax, dword [0x407dac]
mov dword [ebp - 4], eax
jmp 0x403167
push 0x104
call fcn.004043d4
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.00403e9c
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x403117
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.00403048
mov esi, eax
inc esi
push esi
call fcn.00403e9c
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.00404434
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x403148
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x403155
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00404c14
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407dac], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403244
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00404b88
xor eax, eax
mov bl, 0
cmp dword [0x407d50], 0
jne 0x403292
push 0x407aa0
push 1
call fcn.00402aa8
mov dword [0x407d50], eax
cmp dword [0x407d50], 0
jne 0x4032ab
push 0x8000
call fcn.004043d4
mov esi, eax
mov bl, 1
jmp 0x4032e5
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407d50]
test eax, eax
jne 0x4032d5
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x40330e
push esi
push 0x8000
push 0xff
call fcn.00404c70
push esi
push 0x24
push 0
call fcn.00404c70
mov eax, esi
add eax, 0xc
push eax
call fcn.004044bc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4036bc
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.00403648
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x4036f4
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x4036da
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407d08]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403a9c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403abc
mov al, byte [ebp - 4]
jmp 0x403abf
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405abc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408100]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405afa
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405af5
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405af5
mov esi, edx
add edx, 0x10
jmp 0x405ade
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405c0e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405c0e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405c0c
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405c0c
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405b42
jmp 0x405c0c
sub cl, 3
jne 0x405b5c
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405c07
inc cl
jne 0x405b70
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405c07
inc cl
jne 0x405b84
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405b97
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405ba1
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405bfe
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405bb4
cmp byte [ebp - 0x25], 0
jne 0x405bfc
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405bea
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405bc5
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405c0e
jmp 0x405c0c
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405b34
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4060e4
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.004060c0
call fcn.00403244
mov dword [0x408100], eax
lea edx, [eax + 0x18]
mov dword [0x408160], edx
pop edx
call fcn.00405f40
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x40812c], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x408140], eax
mov dword [0x408168], eax
call fcn.00402e74
cmp eax, 3
setb byte [0x408109]
call fcn.00403e94
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406370
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x42c965
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x42ca3a
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x42ca3a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x42ca3a
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x42c9c0
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x42ca3a
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x42ca05
test dl, dl
je 0x42ca01
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42ca05
add ecx, 2
add eax, 2
test dl, dl
jne 0x42c9e5
xor eax, eax
jmp 0x42ca0a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ca1c
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x42ca27
inc esi
cmp esi, ebp
jae 0x42ca3a
mov edx, dword [esp + 0x10]
jmp 0x42c9db
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x42cc9e
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x42cca9
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x42ccbd
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x42ccc1
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x42ccfa
cmp dword [edi + ecx], 0x4550
jne 0x42ccfa
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x42ccfa
test byte [edi + ecx + 0x16], 2
je 0x42ccfa
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x42ccff
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x42cd3b
xor eax, eax
jmp 0x42cd1e
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x42cd44
inc edx
movzx eax, dx
cmp eax, edi
jl 0x42cd1e
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x42cd4a
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x42cd82
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x42cd90
add edx, 0x20
cmp eax, edx
jne 0x42cda1
test bx, bx
je 0x42cdd6
add esi, 2
add edi, 2
jmp 0x42cd72
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x42cdaf
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x42cdbd
add edx, 0x20
sub ecx, edx
je 0x42cdd6
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x42cd6b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x42d1a1
test ecx, ecx
je 0x42d1a1
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x42d1a1
test ebx, ebx
je 0x42d1a1
mov ebx, eax
add ebx, edx
je 0x42d1a1
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x42d1a1
cmp dword [edx + eax + 0x14], 0
je 0x42d1a1
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x42d1a1
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x42d191
test dl, dl
je 0x42d18d
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x42d191
add edi, 2
add esi, 2
test dl, dl
jne 0x42d171
xor eax, eax
jmp 0x42d196
sbb eax, eax
or eax, 1
test eax, eax
je 0x42d1ad
inc ebp
cmp ebp, dword [esp + 4]
jb 0x42d15e
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x464406
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x464429
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x464429
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x464433
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x464475
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4644d7
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4644d2
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4644bd
test dl, dl
je 0x4644b9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4644bd
add ecx, 2
add eax, 2
test dl, dl
jne 0x46449d
xor eax, eax
jmp 0x4644c2
sbb eax, eax
or eax, 1
test eax, eax
je 0x4644e3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x46448a
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x4649f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x464ac5
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x464ac5
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x464ac5
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x464a4b
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x464ac5
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x464a90
test dl, dl
je 0x464a8c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x464a90
add ecx, 2
add eax, 2
test dl, dl
jne 0x464a70
xor eax, eax
jmp 0x464a95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x464aa7
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x464ab2
inc esi
cmp esi, ebp
jae 0x464ac5
mov edx, dword [esp + 0x10]
jmp 0x464a66
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x464d29
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x464d34
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x464d48
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x464d4c
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x464d85
cmp dword [edi + ecx], 0x4550
jne 0x464d85
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x464d85
test byte [edi + ecx + 0x16], 2
je 0x464d85
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x464d8a
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x464dc6
xor eax, eax
jmp 0x464da9
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x464dcf
inc edx
movzx eax, dx
cmp eax, edi
jl 0x464da9
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x464dd5
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x464e0d
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x464e1b
add edx, 0x20
cmp eax, edx
jne 0x464e2c
test bx, bx
je 0x464e61
add esi, 2
add edi, 2
jmp 0x464dfd
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x464e3a
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x464e48
add edx, 0x20
sub ecx, edx
je 0x464e61
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x464df6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x46599b
test ecx, ecx
je 0x46599b
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x46599b
test ebx, ebx
je 0x46599b
mov ebx, eax
add ebx, edx
je 0x46599b
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x46599b
cmp dword [edx + eax + 0x14], 0
je 0x46599b
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x46599b
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x46598b
test dl, dl
je 0x465987
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x46598b
add edi, 2
add esi, 2
test dl, dl
jne 0x46596b
xor eax, eax
jmp 0x465990
sbb eax, eax
or eax, 1
test eax, eax
je 0x4659a7
inc ebp
cmp ebp, dword [esp + 4]
jb 0x465958
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8