joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000fdc0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x25c
mov eax, dword [0x100385e0]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x26c]
push ebx
mov ebx, dword [esp + 0x274]
push ebp
push esi
mov esi, dword [esp + 0x274]
push edi
mov edi, dword [esp + 0x270]
lea ecx, [esp + 0x18]
push ecx
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x1000ff14
push 0x5c
push edi
call fcn.10011560
add esp, 8
test eax, eax
je 0x1000fe23
mov byte [eax], 0
mov ebp, dword [esp + 0x274]
lea ebx, [ebx]
test byte [esp + 0x18], 0x10
je 0x1000fef3
mov ecx, 0x1002c294
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000fe64
test dl, dl
je 0x1000fe60
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000fe64
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000fe44
xor eax, eax
jmp 0x1000fe69
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000fefc
mov ecx, 0x1002c298
lea eax, [esp + 0x44]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000fea0
test dl, dl
je 0x1000fe9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000fea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000fe80
xor eax, eax
jmp 0x1000fea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000fefc
lea edx, [esp + 0x44]
push edx
push edi
push str._s_s
lea eax, [esp + 0x164]
push 0x104
push eax
call fcn.1001153f
mov ecx, dword [esp + 0x298]
mov edx, dword [esp + 0x24]
add esp, 0x14
push ecx
push ebx
push edx
push esi
lea eax, [esp + 0x168]
push ebp
push eax
call fcn.1000fdc0
add esp, 0x18
test al, al
jne 0x1000ff90
jmp 0x1000fefc
mov eax, dword [esi]
cmp eax, ebp
je 0x1000ff2f
inc eax
mov dword [esi], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000fe30
xor al, al
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10010f62
add esp, 0x25c
ret
lea eax, [esp + 0x44]
push eax
push edi
push 0x1002bd00
lea ecx, [esp + 0x164]
push 0x104
push ecx
call fcn.1001153f
mov eax, 0x1003c440
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ff57
sub eax, edx
test ebx, ebx
je 0x1000ff7d
lea edx, [esp + eax + 0x159]
mov eax, dword [esp + 0x284]
push edx
push eax
push ebx
call fcn.1001158d
add esp, 0xc
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000ff90
push ebx
call fcn.1000fa40
add esp, 4
mov dword [esi], eax
mov al, 1
jmp 0x1000ff16
Function at 0x1000ffa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x100385e0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push 0x1003c440
push str._s
lea eax, [esp + 0x150]
push 0x104
push eax
call fcn.1001153f
add esp, 0x10
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10010138
lea eax, [esp + 0x148]
push 0x5c
push eax
call fcn.10011560
add esp, 8
test eax, eax
je 0x10010011
mov byte [eax], 0
mov dword [esp + 4], 0
lea esp, [esp]
test byte [esp + 8], 0x10
je 0x1001011a
mov ecx, 0x1002c294
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10010054
test dl, dl
je 0x10010050
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10010054
add eax, 2
add ecx, 2
test dl, dl
jne 0x10010034
xor eax, eax
jmp 0x10010059
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10010124
mov ecx, 0x1002c298
lea eax, [esp + 0x34]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10010090
test dl, dl
je 0x1001008c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10010090
add eax, 2
add ecx, 2
test dl, dl
jne 0x10010070
xor eax, eax
jmp 0x10010095
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10010124
lea ecx, [esp + 0x34]
push ecx
push 0x1003c440
push str._s_s
lea edx, [esp + 0x154]
push 0x104
push edx
call fcn.1001153f
add esp, 0x14
push 0x104
push 0x1003c338
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x158]
push edi
push ecx
call fcn.1000fdc0
add esp, 0x18
test al, al
je 0x10010124
cmp byte [0x1003c338], 0
mov eax, 0x1003c338
je 0x10010102
cmp byte [eax], 0x5c
jne 0x100100fc
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x100100f4
mov eax, 0x1003c338
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.10010f62
mov esp, ebp
pop ebp
ret
cmp dword [esp + 4], edi
je 0x1001014d
inc dword [esp + 4]
lea edx, [esp + 8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10010020
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.10010f62
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x34]
push eax
push 0x104
push 0x1003c338
call fcn.1001158d
add esp, 0xc
test esi, esi
je 0x10010177
push 0x1003c338
call fcn.1000fa40
add esp, 4
mov dword [esi], eax
cmp byte [0x1003c338], 0
mov eax, 0x1003c338
je 0x10010193
cmp byte [eax], 0x5c
jne 0x1001018d
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x10010185
mov ecx, dword [esp + 0x254]
pop ebx
xor ecx, esp
mov eax, 0x1003c338
call fcn.10010f62
mov esp, ebp
pop ebp
ret

Function at 0x10010f62
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100385e0]
jne 0x10010f6c
repz ret
jmp fcn.100126cb
Function at 0x10019694
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100385e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100140ec
and dword [ebp - 0x14], 0
cmp dword [0x1003b7c0], 0
mov dword [ebp - 0x18], eax
jne 0x10019747
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100197ef
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100197ef
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1003b7c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1003b7c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1003b7c8], eax
call edi
push eax
call esi
mov dword [0x1003b7d0], eax
test eax, eax
je 0x10019747
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1003b7cc], eax
mov eax, dword [0x1003b7cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100197a0
cmp dword [0x1003b7d0], ecx
je 0x100197a0
push eax
call esi
push dword [0x1003b7d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100197a0
test ebx, ebx
je 0x100197a0
call edi
test eax, eax
je 0x10019797
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10019797
test byte [ebp - 8], 1
jne 0x100197a0
or dword [ebp + 0x10], 0x200000
jmp 0x100197d3
mov eax, dword [0x1003b7c4]
cmp eax, dword [ebp - 0x18]
je 0x100197d3
push eax
call esi
test eax, eax
je 0x100197d3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100197d3
mov eax, dword [0x1003b7c8]
cmp eax, dword [ebp - 0x18]
je 0x100197d3
push eax
call esi
test eax, eax
je 0x100197d3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1003b7c0]
call esi
test eax, eax
je 0x100197ef
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100197f1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f62
leave
ret
Function at 0x10006a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x10006a28
mov eax, esi
pop esi
ret
Function at 0x1001c75a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001c8ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x1001c7d3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x1001c7d3
mov dword [ebp - 0x14], 1
jmp 0x1001c7d7
and dword [ebp - 0x14], 0
push 3
pop eax
test eax, eax
je 0x1001c7ef
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001c7ef
mov dword [ebp - 0x10], 1
jmp 0x1001c7f3
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xd5d7
je 0x1001c805
mov dword [ebp - 0x18], 1
jmp 0x1001c809
and dword [ebp - 0x18], 0
imul eax, dword [ebp - 0x14], 9
cmp eax, dword [ebp - 0x18]
jle 0x1001c81b
mov dword [ebp - 8], 1
jmp 0x1001c81f
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jge 0x1001c83a
mov dword [ebp - 0x1c], 1
jmp 0x1001c83e
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x2f14
jle 0x1001c850
mov dword [ebp - 0x20], 1
jmp 0x1001c854
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1001c867
mov dword [ebp - 0x24], 1
jmp 0x1001c86b
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
jl 0x1001c87a
mov dword [ebp - 0x2c], 1
jmp 0x1001c87e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
cmp eax, 0xffff
ja 0x1001c89d
mov dword [ebp - 0x34], 1
jmp 0x1001c8a1
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x1001c8bf
push 0x1922
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret
Function at 0x1002aca7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002acdd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002acd8
push 0
push 0x2339
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1002ad5d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push 0x766f
push 0x7a89
mov eax, dword [ebp - 0x20]
push dword [eax]
push dword [ebp - 0x24]
push 0x2dfb
push 0x5640
mov eax, dword [ebp - 0x28]
push dword [eax]
mov eax, dword [ebp - 0x2c]
push dword [eax]
push 0x42e8
push 1
push 0xa6a
push 0x397f
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.10027beb
add esp, 0x34
mov esp, ebp
pop ebp
ret
Function at 0x1002ff8b
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100300bd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x4f9b
push 0x4ca9
call fcn.10025064
pop ecx
pop ecx
call eax
push eax
push 0x4f9b
push 0x46c5
call fcn.10025064
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0x4aa
call fcn.1002fe6d
add esp, 0xc
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x4f9b
push 0x43d3
call fcn.10025064
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x4f9b
push 0x43d3
call fcn.10025064
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.10025086
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002fec4
add esp, 0x10
push 1
push 0x73f2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x54b9
call fcn.1002ff2a
add esp, 0x14
jmp 0x100300d9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100300d9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x10030239
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.100300dd
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10030269
xor eax, eax
jmp 0x100303b1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10030287
xor eax, eax
jmp 0x100303b1
push 0x696d
lea eax, [ebp - 0xc]
push eax
push 0x694b
push 0x60c
push dword [ebp - 8]
push 1
call fcn.1002e59b
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x100302b4
xor eax, eax
jmp 0x100303b1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 0x27a1
call fcn.1002ff8b
add esp, 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp + 8]
push eax
push 0x6650
call fcn.1003011f
add esp, 0x14
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x414b
call fcn.10030195
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x1003032b
push dword [ebp - 0x14]
push 1
push dword [ebp - 4]
push 0x1c6c
push 0x61c4
call fcn.1002a904
add esp, 0x14
push dword [ebp - 4]
call fcn.1002dc28
pop ecx
test eax, eax
jne 0x1003033c
xor eax, eax
jmp 0x100303b1
push 0
push dword [ebp - 4]
push 0x654d
call fcn.1002b03c
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10030399
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1003036d
xor eax, eax
jmp 0x100303b1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10030386
xor eax, eax
jmp 0x100303b1
push 0x7ea4
push 1
lea eax, [ebp - 4]
push eax
call fcn.100301f6
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100303aa
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100303ae
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x100451d2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10045209
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x1004521b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004521b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x10061d75
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10067170]
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.1005e39d
mov dword [ebp - 0x14], eax
cmp dword [0x10653b88], esi
jne 0x10061e68
push 0x800
push esi
push 0x100063e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10061df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10061f48
push esi
push esi
push 0x100063e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10061f48
push 0x100063fc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10061f48
push eax
call ebx
push 0x10006408
push edi
mov dword [0x10653b88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006418
push edi
mov dword [0x10653b8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000642c
push edi
mov dword [0x10653b90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10653b98], eax
test eax, eax
je 0x10061e65
push 0x10006448
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10653b94], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10061e8d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10061e80
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10061ea2
push 4
pop eax
jmp 0x10061f4a
cmp dword [ebp - 0x14], esi
je 0x10061ea2
push dword [0x10653b88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10061e87
mov eax, dword [0x10653b94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10061f00
cmp dword [0x10653b98], edi
je 0x10061f00
push eax
call ebx
push dword [0x10653b98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10061f00
test eax, eax
je 0x10061f00
call ecx
test eax, eax
je 0x10061ef5
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 0x10061ef5
test byte [ebp - 8], 1
jne 0x10061f00
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10061f30
mov eax, dword [0x10653b8c]
cmp eax, edi
je 0x10061f2d
push eax
call ebx
test eax, eax
je 0x10061f2d
call eax
mov esi, eax
test esi, esi
je 0x10061f2d
mov eax, dword [0x10653b90]
cmp eax, edi
je 0x10061f2d
push eax
call ebx
test eax, eax
je 0x10061f2d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10653b88]
call ebx
test eax, eax
je 0x10061f48
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10061f4a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056b42
mov esp, ebp
pop ebp
ret
Function at 0x4034d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040c4d0
mov eax, dword [0x2b9cbdc]
mov ecx, dword [0x2b9cb50]
shr eax, 3
test eax, eax
jbe 0x40360b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403520
cmp dword [0x2b9cbdc], 0x959
jne 0x4035ed
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d2c
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402d58
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402d8c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d98
push 0x402da8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403300
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x408e8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444a10]
jne 0x408e95
repz ret
jmp fcn.0040b15c

Function at 0x40a8ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405d7d
and dword [ebp - 4], 0
cmp dword [0x445dac], 0
mov ebx, eax
jne 0x40a95d
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aa0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40aa0e
push eax
call fcn.00405d0b
mov dword [esp], 0x402bf0
push edi
mov dword [0x445dac], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bdc
push edi
mov dword [0x445db0], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bc0
push edi
mov dword [0x445db4], eax
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x445dbc], eax
test eax, eax
je 0x40a95d
push 0x402ba8
push edi
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x445db8], eax
mov eax, dword [0x445db8]
cmp eax, ebx
je 0x40a9b5
cmp dword [0x445dbc], ebx
je 0x40a9b5
push eax
call fcn.00405d86
push dword [0x445dbc]
mov esi, eax
call fcn.00405d86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a9b5
test edi, edi
je 0x40a9b5
call esi
test eax, eax
je 0x40a9ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a9ac
test byte [ebp - 0xc], 1
jne 0x40a9b5
or dword [ebp + 0x10], 0x200000
jmp 0x40a9ee
mov eax, dword [0x445db0]
cmp eax, ebx
je 0x40a9ee
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40a9ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a9ee
mov eax, dword [0x445db4]
cmp eax, ebx
je 0x40a9ee
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40a9ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445dac]
call fcn.00405d86
pop ecx
test eax, eax
je 0x40aa0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aa10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret