joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fa68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x41fb26
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41faed
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41fac8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x41faeb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41faeb
push 0
push 0x1e60
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
jmp 0x41fb24
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41fb13
mov byte [ebp - 1], 0
push 1
lea eax, [ebp - 1]
push eax
push 0
call fcn.004129ed
add esp, 0xc
jmp 0x41fb24
push 0x8c2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x41fb50
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x34]
push 0x4f9f
call fcn.004169c1
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x431279
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x431381
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43131e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43130a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x4312eb
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x431308
push 0x6f5f
push 1
push 0
push 1
call fcn.0042e5c8
add esp, 0x10
jmp 0x4312e0
jmp 0x43131c
push 0x26ad
push 0x126e
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x43137f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43135d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x43135b
push 0x8c2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x43137f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43137f
push 0
push 0
push 0xa10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x431393
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
push 1
push dword [ebp - 0x3c]
call fcn.0042e03e
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431650
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4316bf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x431694
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x366e
push 0
call fcn.0043259a
add esp, 0xc
jmp 0x4316ba
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push 0x344c
push 0x7a7b
push 0x6fe9
push 0
push dword [ebp - 0x18]
push 1
call fcn.0042e99c
add esp, 0x1c
jmp 0x431747
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4316ef
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0
call fcn.0042ef94
pop ecx
pop ecx
jmp 0x431747
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x431717
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x431715
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x431747
mov byte [ebp - 2], 0
push 0
push 1
push 0x6354
push 1
push 1
push 0x2425
push 0x2208
push 1
push 0
lea eax, [ebp - 2]
push eax
push 0x252e
call fcn.0042fc95
add esp, 0x2c
mov esp, ebp
pop ebp
ret

Function at 0x4338be
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x433940
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x433902
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0x43c2
push 0
push dword [ebp - 0x10]
call fcn.00434d2c
add esp, 0xc
jmp 0x43393e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43392f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43392d
push 0x32e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x43393e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x433997
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43397a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
call fcn.00433811
add esp, 0xc
jmp 0x433997
push 1
push 0
push 0
push 0x8dd
push 0xe6a
push 0x190a
call fcn.004349c8
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x4369c2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x436abc
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x436a71
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x436a45
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x436a43
push 0
push 0x6715
push 1
push 0
push 0x1723
push 0x1ba4
push 1
call fcn.004338be
add esp, 0x1c
jmp 0x436a6f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [eax], 0xffffffff
jmp 0x436ab7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x436aa8
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x436aa6
push 0x14f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x436ab7
push 1
push 0x11c8
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
jmp 0x436b63
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x436b24
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x436b04
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
jmp 0x436b22
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x436b22
push 0
call fcn.0042e7fa
pop ecx
jmp 0x436b63
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x436b50
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x436b4e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x436b63
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
and dword [eax + 4], 0
mov esp, ebp
pop ebp
ret
Function at 0x4380fa
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x438180
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x438138
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.004381ac
pop ecx
pop ecx
jmp 0x43817e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x438174
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x438172
push 1
push 0x8fe
push 0x2e2
push 0x1bc9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollRange]
jmp 0x43817e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4381a8
push 0x5f3f
push 0x6904
push 0x3aae
push 0x5d2d
push 0x1f3f
push 0x1dd6
push 1
call fcn.0043276e
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x4381ea
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x4382c8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x438269
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.004382da
add esp, 0x18
jmp 0x4382c6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x4382b5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4382b3
push 0x6fb
push 1
push 0x1f6e
push 0x4101
push 0x57e9
push 1
push 0
push 0x691f
push 0x2fb9
push 1
call fcn.0042ed82
add esp, 0x28
jmp 0x4382c6
push 0x1b32
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x4382d6
push 1
push 0x3a54
call fcn.0042f66e
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x438bbc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x438c45
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x438c38
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x438c19
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 1
push 0x1145
push 0x7501
push 1
push 0x7d21
push 0
push 1
call fcn.0043535a
add esp, 0x20
jmp 0x438c36
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x438c36
push 0x8c2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x438c43
push 1
push 0
call fcn.00436b67
pop ecx
pop ecx
jmp 0x438c5d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x7b1d
push 0
call fcn.0042ff8a
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43b92e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x43ba5c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43b9e3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43b9c3
mov dword [ebp - 0x70], 0
push 0x7ba9
push 1
push 0x7a1f
push 1
push 0x1bbd
push 0
call fcn.004393f3
add esp, 0x18
push 1
push 1
push 0x1451
push 0x1c1c
push 0
push 1
push 0x21b8
call fcn.004362a8
add esp, 0x1c
jmp 0x43b9e1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x43b9e1
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x43ba57
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x43ba34
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43ba32
push 1
push 1
push 0x1ba4
push 1
push 1
push 0x77a4
push 0x4ba0
push 0
push 0
push 0x45e8
push 0x2d4c
call fcn.0042fc95
add esp, 0x2c
jmp 0x43ba57
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x43ba57
push 0x1202
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x43bb02
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x43bad6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x43babb
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x23
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x43bad4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x43bb02
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push 0x712d
push 0x4d9c
push 0x7034
push 0
push 0x365f
push 0x6d05
call fcn.0043513c
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x43d51d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43d5c6
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x43d583
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0x3769
push 0x2991
push 0x46e6
push 0x15b8
push 1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0043d5eb
add esp, 0x1c
jmp 0x43d5c4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43d5b7
push 0
push 0
push 0x1db5
push 0
push 0x2136
push 0
push 0x72e
push 0x1eda
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x43d5c4
push 0
push 0x2308
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x43d5e7
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
push 0
push 0x540d
push 0x4f2d
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
push eax
call fcn.0043d500
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x471bf8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x47fbaf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x492484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046fa54
mov dword [ebp - 0x14], eax
cmp dword [0xa8cc70], esi
jne 0x47fca2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47fc2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47fd82
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47fd82
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47fd82
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa8cc70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa8cc74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa8cc78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8cc80], eax
test eax, eax
je 0x47fc9f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8cc7c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47fcc7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47fcba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47fcdc
push 4
pop eax
jmp 0x47fd84
cmp dword [ebp - 0x14], esi
je 0x47fcdc
push dword [0xa8cc70]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47fcc1
mov eax, dword [0xa8cc7c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47fd3a
cmp dword [0xa8cc80], edi
je 0x47fd3a
push eax
call ebx
push dword [0xa8cc80]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47fd3a
test eax, eax
je 0x47fd3a
call ecx
test eax, eax
je 0x47fd2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47fd2f
test byte [ebp - 8], 1
jne 0x47fd3a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47fd6a
mov eax, dword [0xa8cc74]
cmp eax, edi
je 0x47fd67
push eax
call ebx
test eax, eax
je 0x47fd67
call eax
mov esi, eax
test esi, esi
je 0x47fd67
mov eax, dword [0xa8cc78]
cmp eax, edi
je 0x47fd67
push eax
call ebx
test eax, eax
je 0x47fd67
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa8cc70]
call ebx
test eax, eax
je 0x47fd82
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47fd84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046eefb
mov esp, ebp
pop ebp
ret
Function at 0x402f98
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40a008], 0x8088405
inc edx
mov dword [ebx + 0x40a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4040d4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40b038], 0
je 0x40413b
cmp word [0x40b324], 0xd7b2
jne 0x4040fd
cmp dword [0x40b32c], 0
jbe 0x4040fd
mov eax, 0x40b320
call dword [0x40b33c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x404168
call fcn.004047f0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40a016], 0
jne 0x404157
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40513c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4052a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040434c
cmp si, word [0x40a79c]
jb 0x4051d4
cmp si, word [0x40a99c]
ja 0x4051d4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4051d4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x40a79c]
jae 0x4051ae
mov edi, ebx
dec edi
jmp 0x4051cf
cmp si, word [ebx*8 + 0x40a79c]
jbe 0x4051be
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4051cf
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x40a7a0]
call fcn.0040504c
jmp 0x4051d4
cmp edi, dword [ebp - 8]
jae 0x405198
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x405283
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x405283
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040492c
push dword [ebp - 0x160]
push 0x4052bc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040492c
push dword [ebp - 0x164]
push 0x4052cc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040492c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00404ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4052a8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404394
ret