joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094cd0
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x10094d17
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, 0x1000
jb 0x10094cf8
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10094d3a
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10157950
add esp, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov esi, dword [esi + 8]
test esi, esi
je 0x10094d38
lock dec dword [esi + 4]
jne 0x10094d38
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10094d38
mov eax, dword [esi]
mov ecx, esi
pop esi
jmp dword [eax + 4]
pop esi
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
Function at 0x10128d60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [esp + 0x20]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [ebx + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 3]
xor edx, eax
imul esi, edx, 0x1000193
and esi, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov dword [esp], ecx
mov ecx, dword [ecx + 0xc]
lea edi, [esi + esi]
mov ebp, dword [ecx + edi*4 + 4]
xor eax, eax
mov dword [esp + 8], edx
cmp ebp, edx
je 0x10128e71
lea edx, [esi + esi]
inc edx
mov dword [esp + 4], edi
mov esi, dword [ecx + edi*4]
mov edi, dword [ebx]
cmp edi, dword [ebp + 8]
jne 0x10128ddc
cmp esi, ebp
je 0x10128e0e
mov eax, dword [ebp + 4]
mov dword [ecx + edx*4], eax
jmp 0x10128e1e
mov ebx, ebp
nop
cmp ebx, esi
je 0x10128e71
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jne 0x10128de0
cmp ebp, ebx
je 0x10128e0a
mov ebp, ebx
cmp esi, ebx
mov edx, dword [esp]
jne 0x10128e21
mov eax, dword [esi]
mov edi, dword [esp + 4]
mov dword [ecx + edi*4], eax
mov ebp, esi
jmp 0x10128e21
cmp esi, ebx
jne 0x10128dd4
mov eax, dword [esp + 4]
mov esi, edx
mov edx, dword [esp + 8]
mov dword [ecx + eax*4], edx
mov dword [ecx + esi*4], edx
mov edx, dword [esp]
mov eax, dword [ebp]
dec dword [edx + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x10128e61
mov eax, dword [ebp + 0x5c]
sub eax, ecx
cmp eax, 0x1000
jb 0x10128e57
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10128e7b
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10157950
add esp, 8
push 0x60
push ebp
call fcn.10157950
add esp, 8
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10128f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x101297c0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
movss xmm0, dword [ecx]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
movzx ecx, word [ecx]
mov esi, dword [ebp + 0x24]
mov edi, dword [esi]
mov esi, dword [ebp + 0x1c]
mov byte [ebx + 4], 0
mov dword [ebx + 8], edi
xorps xmm1, xmm1
movups xmmword [ebx + 0xc], xmm1
movups xmmword [ebx + 0x1c], xmm1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x34], cx
lea ecx, [ebx + 4]
movups xmmword [ebx + 0x38], xmm1
mov dword [ebp - 0x20], ebx
movups xmmword [ebx + 0x48], xmm1
mov dword [ebp - 0x10], 0
mov dword [esp + 0xc], eax
movss dword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.100f0720
sub esp, 0x10
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
Function at 0x10158755
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0x101f3c10
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1015877c
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1015877f
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10158731
pop esi
leave
ret 8
Function at 0x44a410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x118
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
xor edi, edi
or ebx, 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
cmp bh, bh
adc eax, sym.imp.KERNEL32.dll_GetCommandLineW
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
lea ecx, [esp + 0x14]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
push ecx
mov ebp, eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.user32.dll
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi

Function at 0x56e7af
Capabilities:
Encode data using xor

Disassembly:
fnstenv [0xb3d446ed]
lcall 0xc759, 0xa991d679
stosd dword es:[edi], eax
out 0xa7, al
xor al, 0x46
imul esi, dword [ebp + 0x1f], 0x27
mov ebp, dword [ebx + 0x6f]
lds edi, [ecx + 0x76]
mov dl, 0x28
push ebp
out 0x86, eax
test eax, 0xc99b567b
pop ss
sub bh, byte [eax + 0x87ccc4f]
insd dword es:[edi], dx
add eax, 0xb38dd64b
rcr esi, 1
or dword [eax - 0x295ae7f6], esp
invalid
sub eax, 0xdf9659f0
pop ebx
pop ss
inc esi
sar dword [ecx + 0x3007afc8], cl
dec ecx
jbe 0x56e706
test eax, 0x4a701d5e
sub bh, ch
stosd dword es:[edi], eax
enter 0x59c7, 0xfffffffffffffffe
or ebx, edi
dec edi
invalid
wait
pop ds
sub edx, esp
jne 0x56e753
or dword [ecx - 0x19f0076f], eax
pop ebx
mov cl, 0x11
lahf
test dword [ebx + 0x4c9a21e9], 0x16c597a6
add al, 8
fnstcw word [ebx - 0x18]
mov ebp, ebx
cwde
mov edi, 0xbfcb2584
xchg byte [edi - 0x77], al
iretd
Function at 0x414dd8
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], eax
sub esi, 0x45507ddb
add esi, 0xf401232b
sub esi, 0xc9cc9970
add edx, 4
dec ecx
cmp edx, edi
jne fcn.00414dd8
dec esi
sub esi, ecx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4016b0
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040d700
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.user32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4016f9
push str.user32.dll
call esi
push str.SetProcessDPIAware
push eax
call edi
test eax, eax
je 0x4016f9
call eax
push str.kernel32.dll
call esi
test eax, eax
je 0x40173f
push str.IsWow64Process
push eax
call edi
mov edi, eax
test edi, edi
je 0x40173f
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x1008], 0
mov edi, str.x86_64Starcraft.exe
setne al
test al, al
jne 0x401744
mov edi, str.x86Starcraft.exe
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.0040a250
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x800
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4017a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileNameW___error_with__lu._n
call fcn.004012c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004028ed
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4017b0
sub ecx, edx
sar ecx, 1
je 0x4017d6
movzx eax, word [ebp + ecx*2 - 0x1004]
cmp eax, 0x5c
je 0x401813
cmp eax, 0x2f
je 0x401813
dec ecx
jne 0x4017c1
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x401829
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectoryW___error_with__lu._n
call fcn.004012c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004028ed
mov esp, ebp
pop ebp
ret 0x10
add ecx, ecx
cmp ecx, 0x1000
jae 0x401889
xor eax, eax
mov word [ebp + ecx - 0x1004], ax
jmp 0x4017d6
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40185a
push str.Starcraft
call fcn.004012c0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004028ed
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x1004]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00401340
xor ecx, ecx
add esp, 4
test al, al
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004028ed
mov esp, ebp
pop ebp
ret 0x10
call fcn.004033ad
int3
Function at 0x91461c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x914626
pushal
call 0x91462c
pop ebp
sub ebp, 0x10
sub ebp, 0x51461c
jmp 0x914642
mov eax, 0x51461c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dd
mov edx, 0x725ef3ac
xor byte [eax], dl
inc eax
dec ecx
jne 0x914659
jmp 0x91466c
daa
popal
daa
and eax, 0xacacac90
sub eax, 0xacac546d
lodsb al, byte [esi]
scasd eax, dword es:[edi]
popal
adc al, 0xaa
lodsb al, byte [esi]
lodsb al, byte [esi]
lodsb al, byte [esi]
push ss
test byte [esp + ebp*4 - 0x50b1a454], ch
daa
sub eax, 0xacacaca0
scasd eax, dword es:[edi]
imul esp, dword [ecx], 0x255088c8
test al, 0x88
cld
invalid
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4019d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401ae0
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401a04
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401a85
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x4019f0
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401b07
mov eax, dword [0x4053a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4053a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401ae7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401a7e
sub eax, 4
and eax, 0xfffffffb
jne 0x401a90
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401a7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
xor esi, esi
jmp 0x401a0e
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x401f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x401f95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f8e
test esi, esi
je 0x401f8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f70
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402620
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
nop
nop
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100d1410], 0
je 0x10001539
mov eax, dword [0x100d1410]
jmp 0x100016d6
mov dword [0x100d1410], 0x100d13e8
push 0x28
push 0
push 0x100d13e8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x100d13e8], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100d13ec], eax
cmp dword [0x100d13ec], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x100d13ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d13f0], eax
push str.SymInitialize
mov ecx, dword [0x100d13ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d13f4], eax
push str.SymSetOptions
mov edx, dword [0x100d13ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d13f8], eax
push str.SymGetOptions
mov eax, dword [0x100d13ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d13fc], eax
push str.SymLoadModule
mov ecx, dword [0x100d13ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d1400], eax
push str.SymGetModuleInfo
mov edx, dword [0x100d13ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d1404], eax
push str.SymGetSymFromName
mov eax, dword [0x100d13ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d1408], eax
push str.BindImage
mov ecx, dword [0x100d13ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100d140c], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x100d13f0], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x100d13f0]
cmp dword [0x100d13f0], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x100d13ec]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100d13ec], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x100d13f4], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x100d13e8]
push eax
call dword [0x100d13f4]
cmp dword [0x100d13fc], 0
je 0x100016d1
cmp dword [0x100d13f8], 0
je 0x100016d1
call dword [0x100d13fc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x100d13f8]
mov eax, dword [0x100d1410]
mov esp, ebp
pop ebp
ret
Function at 0x10006180
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.10006010
cmp dword [eax + 0x14], 0x10
jb 0x100061ad
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x28]
cmp edx, 0x10
jb 0x100061f6
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100061ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100061ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10037fb5
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10037c8d
add esp, 0x44
ret

Function at 0x100062b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [esp + 0x4c]
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0xc]
call fcn.10005f50
cmp dword [eax + 0x14], 0x10
jb 0x100062de
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10006327
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000631d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000631d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10037fb5
add esp, 8
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x48]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10037c8d
add esp, 0x40
ret
Function at 0x100121a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x1004b00c]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x100d142c], 0
nop dword [eax + eax]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.100028c0
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1001220f
test eax, 0x68000
jne 0x1001220f
mov eax, dword [esp + 0x22]
test eax, eax
je 0x1001229b
cmp eax, 5
je 0x1001225f
xorps xmm0, xmm0
lea edx, [esp + 0x50]
mov ecx, esi
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
call fcn.100028c0
mov eax, dword [esp + 0x56]
cmp eax, 0xffffffff
je 0x10012243
test eax, 0x68000
jne 0x10012243
mov ecx, dword [esp + 0x52]
jmp 0x10012246
or ecx, 0xffffffff
mov eax, dword [0x100d142c]
add eax, ecx
add esi, eax
mov dword [0x100d142c], eax
cmp eax, 5
jl 0x100121d0
jmp 0x1001226c
mov eax, dword [0x100d142c]
add eax, 4
mov dword [0x100d142c], eax
push eax
call fcn.10038222
add esp, 4
mov dword [0x100d1434], eax
mov dword [0x100d1430], edi
push 0x40
push 0x3000
push dword [0x100d142c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100122b3
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 8
push dword [0x100d142c]
push edi
push dword [0x100d1434]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x100d142c]
push dword [0x100d1434]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x100d142c]
mov eax, edi
sub eax, esi
mov byte [esp + 0x20], 0xe9
sub eax, 5
add esp, 0xc
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + esi], eax
mov al, byte [esp + 0x18]
mov byte [ecx + esi + 4], al
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0x100d142c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x100d142c], 5
mov cl, 5
jle 0x10012337
mov eax, 5
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x100d142c]
jl 0x10012326
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov al, byte [esp + 0x18]
mov byte [edi + 4], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push dword [0x100d142c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10037c8d
mov esp, ebp
pop ebp
ret 8