joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4030dc
Capabilities:
Accept command line arguments
Get file size
Read file on windows

Disassembly:
call fcn.00403094
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x40c014], eax
call sub.kernel32.dll_GetCommandLineA
push 0xbfd07b4
mov eax, 0x7a185b04
pop ecx
xor eax, ecx
push eax
push 0x59a25751
mov edx, 0x641ff9be
pop ecx
xor edx, ecx
pop edi
xor edx, edi
push 0x6dad65fe
mov ebx, 0x13291857
pop edi
xor ebx, edi
mov esi, 0x329c5e76
xor ebx, esi
xor ebx, edx
mov esi, 0x5a3ef463
xor esi, 0x5a3ef463
xor esi, ebx
dec esi
mov edx, dword [esi + 1]
xor esi, esi
add esi, edx
push esi
pop edi
sub edi, 0xffffffc4
add edi, 0xffffffff
mov ebx, dword [edi - 0x3b]
mov eax, ebx
push eax
pop edi
mov edx, edi
mov eax, edx
mov ecx, 0xffffffff

Function at 0x403154
Capabilities:
Get file size
Read file on windows

Disassembly:
xor eax, ecx
and eax, 0xffffffff
and edi, 0
or edi, eax
and edi, 0x11c86c31
and ebx, 0xee3793ce
or ebx, edi
mov ecx, ebx
add esp, 0xfffffffc
mov dword [esp], ecx
pop edx
mov esi, 0
xor esi, edx
mov eax, esi
push eax

Function at 0x403185
Capabilities:
Get file size
Read file on windows

Disassembly:
pop edx
add esp, 0xfffffffc
xor edi, edi
add edi, esp
mov eax, edi
mov esi, eax
mov dword [esi], edx
mov edi, 0x57fa04fb

Function at 0x403198
Capabilities:
Get file size
Read file on windows

Disassembly:
xor edi, 0x3654491b
mov eax, 0x26ec951b
mov esi, 0x568a95a2
xor esi, eax
xor esi, edi
xor edx, esi
mov eax, 0x35cab51e
mov esi, 0x7bc8851b

Function at 0x4031b8
Capabilities:
Get file size
Read file on windows

Disassembly:
xor esi, eax
mov edi, 0x282535fd
xor edi, 0x281c77b5
xor esi, edi
xor edx, esi
mov edi, 0x48321200
mov eax, 0x6090c7c
xor edi, eax
xor edx, edi
mov ecx, edx
add ecx, 0
je fcn.004034f0
pop esi
add esp, 0xfffffffc
mov ebx, 0x18b244eb
inc esp
mov dl, 0x18
mov edx, 0x18b244eb
xor edx, ebx
xor edx, esp
mov dword [edx], esi
push esi
pop ebx
xor edi, edi
add edi, ebx
mov ecx, edi
mov edx, ecx
mov eax, 0xfb3e1af7
xor edx, eax
xor edx, 0x4c1e508
and edx, 0xffffffff
and edi, 0
or edi, edx
and edi, 0x41db6b89
and esi, 0xbe249476
or esi, edi
test esi, esi
je 0x403516
test ch, ah
add al, byte [eax]
invalid
pop ebx
mov edx, 0x262437ba
xor edx, 0x262437ba
xor edx, ebx
add esp, 0xfffffffc
mov dword [esp], edx
mov eax, ebx
add esp, 0xfffffffc
mov dword [esp], eax
pop edx
mov esi, 0x5e5457c4
mov edi, 0xa1aba83b
xor esi, edi
xor edx, esi
and edx, 0x15ec20bc
and ebx, 0xea13df43
or ebx, edx
mov eax, 0x25849017
mov edi, 0x6a52f05
xor edi, eax
mov ecx, 0x23011102
adc dword [ecx], eax
and edi, dword [edx + 0x20ae10]
xor ecx, edx
xor ecx, edi
xor ecx, ebx
and ecx, 0xffffffff
jne 0x4032ce
mov esi, 0x60c00020
mov edx, 0x10c200
xor esi, edx
mov ecx, 0x20149c14
xor ecx, 0x2012904c
and byte [ecx], dh
into
mov edi, 0x754a45de
xor edi, 0x30b7a3f6
xor esi, edi
Function at 0x40322c
Capabilities:
Get file size
Read file on windows

Disassembly:
xor esi, eax
mov edi, 0x282535fd
xor edi, 0x281c77b5
xor esi, edi
xor edx, esi
mov edi, 0x48321200
mov eax, 0x6090c7c
xor edi, eax
xor edx, edi
mov ecx, edx
add ecx, 0
je fcn.004034f0
pop esi
add esp, 0xfffffffc
mov ebx, 0x18b244eb
inc esp
mov dl, 0x18
mov edx, 0x18b244eb
xor edx, ebx
xor edx, esp
mov dword [edx], esi
push esi
pop ebx
xor edi, edi
add edi, ebx
mov ecx, edi
mov edx, ecx
mov eax, 0xfb3e1af7
xor edx, eax
xor edx, 0x4c1e508
and edx, 0xffffffff
and edi, 0
or edi, edx
and edi, 0x41db6b89
and esi, 0xbe249476
or esi, edi
test esi, esi
je 0x403516
test ch, ah
add al, byte [eax]
invalid
pop ebx
mov edx, 0x262437ba
xor edx, 0x262437ba
xor edx, ebx
add esp, 0xfffffffc
mov dword [esp], edx
mov eax, ebx
add esp, 0xfffffffc
mov dword [esp], eax
pop edx
mov esi, 0x5e5457c4
mov edi, 0xa1aba83b
xor esi, edi
xor edx, esi
and edx, 0x15ec20bc
and ebx, 0xea13df43
or ebx, edx
mov eax, 0x25849017
mov edi, 0x6a52f05
xor edi, eax
mov ecx, 0x23011102
adc dword [ecx], eax
and edi, dword [edx + 0x20ae10]
xor ecx, edx
xor ecx, edi
xor ecx, ebx
and ecx, 0xffffffff
jne 0x4032ce
mov esi, 0x60c00020
mov edx, 0x10c200
xor esi, edx
mov ecx, 0x20149c14
xor ecx, 0x2012904c
and byte [ecx], dh
into
mov edi, 0x754a45de
xor edi, 0x30b7a3f6
xor esi, edi

Function at 0x4032a8
Capabilities:
Get file size
Read file on windows

Disassembly:
xor esi, eax
mov edi, 0x282535fd
xor edi, 0x281c77b5
xor esi, edi
xor edx, esi
mov edi, 0x48321200
mov eax, 0x6090c7c
xor edi, eax
xor edx, edi
mov ecx, edx
add ecx, 0
je fcn.004034f0
pop esi
add esp, 0xfffffffc
mov ebx, 0x18b244eb
inc esp
mov dl, 0x18
mov edx, 0x18b244eb
xor edx, ebx
xor edx, esp
mov dword [edx], esi
push esi
pop ebx
xor edi, edi
add edi, ebx
mov ecx, edi
mov edx, ecx
mov eax, 0xfb3e1af7
xor edx, eax
xor edx, 0x4c1e508
and edx, 0xffffffff
and edi, 0
or edi, edx
and edi, 0x41db6b89
and esi, 0xbe249476
or esi, edi
test esi, esi
je 0x403516
test ch, ah
add al, byte [eax]
invalid
pop ebx
mov edx, 0x262437ba
xor edx, 0x262437ba
xor edx, ebx
add esp, 0xfffffffc
mov dword [esp], edx
mov eax, ebx
add esp, 0xfffffffc
mov dword [esp], eax
pop edx
mov esi, 0x5e5457c4
mov edi, 0xa1aba83b
xor esi, edi
xor edx, esi
and edx, 0x15ec20bc
and ebx, 0xea13df43
or ebx, edx
mov eax, 0x25849017
mov edi, 0x6a52f05
xor edi, eax
mov ecx, 0x23011102
adc dword [ecx], eax
and edi, dword [edx + 0x20ae10]
xor ecx, edx
xor ecx, edi
xor ecx, ebx
and ecx, 0xffffffff
jne 0x4032ce
mov esi, 0x60c00020
mov edx, 0x10c200
xor esi, edx
mov ecx, 0x20149c14
xor ecx, 0x2012904c
and byte [ecx], dh
into
mov edi, 0x754a45de
xor edi, 0x30b7a3f6
xor esi, edi

Function at 0x4032b8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov ecx, 0x31dd3660
xor esi, ecx
invalid
div byte [eax]
push ds
invalid
Function at 0x4032fc
Capabilities:
Get file size
Read file on windows

Disassembly:
test ch, ah
add al, byte [eax]
add byte [ebx - 0x46], bl
mov edx, 0x81262437
mov edx, 0x31262437
fiadd dword [ebx + 0x1489fcc4]
and al, 0x89
fadd dword [ebx + 0x489fcc4]
and al, 0x5a
pop eax
mov esi, eax
add esp, 0xfffffffc
mov dword [esp], esi
pop edi
add esp, 0xfffffffc
mov dword [esp], edi
mov ecx, 0x193970c3
xor ecx, 0xf4c94597
push ecx
mov ebx, 0x57605119
xor ebx, 0x48f5f6da
dec eax
pop edi
xor ebx, edi
xor eax, ebx
mov ecx, 0x40201c02
sbb al, 0x20
inc eax
mov edi, 0x14720d0
xor ecx, edi
xor eax, ecx
mov edx, 0x55f8ce5f
xor eax, edx
xor eax, 0x7c67f3a0
mov ebx, 0x7b1e8c3c
xor ebx, 0x682a2775
push 0x1ca4e091
mov esi, 0xf904bd8
pop ecx
xor esi, ecx
xor esi, ebx
xor esi, eax
xor esi, 0
jne 0x403383
push 0x51400493
mov eax, 0x282b59ca
pop ecx
xor eax, ecx
push eax
mov esi, 0x552c2ac8
xor esi, 0x77e8c84c
pop edi
xor esi, edi
mov eax, esi
add esp, 0xfffffffc
mov dword [esp], eax
mov edx, 0x4ea01110
xor edx, 0x5b4102d
mov eax, 0x10bbbee0
xor edx, eax
pop ebx
xor edx, ebx
mov esi, 0
xor esi, edx
add esp, 0xfffffffc
mov dword [esp], esi
pop ebx
xor ecx, ecx
add ecx, ebx
xor edx, edx
add edx, ecx
add esp, 0xfffffffc
mov dword [esp], edx
push 0x7f8bef4f
mov esi, 0x1f4f0a7a
pop edx
xor esi, edx
push esi
push 0x293226d1
mov edi, 0x5851b0e2
pop esi
xor edi, esi
pop ecx
xor edi, ecx
xor ebx, edi
mov edx, ebx

Function at 0x403340
Capabilities:
Get file size
Read file on windows

Disassembly:
test ch, ah
add al, byte [eax]
add byte [ebx - 0x46], bl
mov edx, 0x81262437
mov edx, 0x31262437
fiadd dword [ebx + 0x1489fcc4]
and al, 0x89
fadd dword [ebx + 0x489fcc4]
and al, 0x5a
pop eax
mov esi, eax
add esp, 0xfffffffc
mov dword [esp], esi
pop edi
add esp, 0xfffffffc
mov dword [esp], edi
mov ecx, 0x193970c3
xor ecx, 0xf4c94597
push ecx
mov ebx, 0x57605119
xor ebx, 0x48f5f6da
dec eax
pop edi
xor ebx, edi
xor eax, ebx
mov ecx, 0x40201c02
sbb al, 0x20
inc eax
mov edi, 0x14720d0
xor ecx, edi
xor eax, ecx
mov edx, 0x55f8ce5f
xor eax, edx
xor eax, 0x7c67f3a0
mov ebx, 0x7b1e8c3c
xor ebx, 0x682a2775
push 0x1ca4e091
mov esi, 0xf904bd8
pop ecx
xor esi, ecx
xor esi, ebx
xor esi, eax
xor esi, 0
jne 0x403383
push 0x51400493
mov eax, 0x282b59ca
pop ecx
xor eax, ecx
push eax
mov esi, 0x552c2ac8
xor esi, 0x77e8c84c
pop edi
xor esi, edi
mov eax, esi
add esp, 0xfffffffc
mov dword [esp], eax
mov edx, 0x4ea01110
xor edx, 0x5b4102d
mov eax, 0x10bbbee0
xor edx, eax
pop ebx
xor edx, ebx
mov esi, 0
xor esi, edx
add esp, 0xfffffffc
mov dword [esp], esi
pop ebx
xor ecx, ecx
add ecx, ebx
xor edx, edx
add edx, ecx
add esp, 0xfffffffc
mov dword [esp], edx
push 0x7f8bef4f
mov esi, 0x1f4f0a7a
pop edx
xor esi, edx
push esi
push 0x293226d1
mov edi, 0x5851b0e2
pop esi
xor edi, esi
pop ecx
xor edi, ecx
xor ebx, edi
mov edx, ebx
Function at 0x4033b4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov ecx, edx
mov eax, 0xffffffff
xor ecx, eax
and ecx, 0x6f3ac8
and ebx, 0xff90c537
or ebx, ecx
and ebx, 0xffff
push 0x218cb506
mov eax, 0x27a3461a
pop edi
xor eax, edi
push eax
push 0x4e8bc621
mov edx, 0x48a4353d
pop esi
xor edx, esi
pop ecx
xor edx, ecx
xor edx, ebx
or edx, 0
jne 0x403442
mov edx, 0x30201020
mov ebx, 0x3e881
call 0xda71340c
mov eax, 0x17a44f10
xor eax, 0x2787b7b1

Function at 0x403404
Capabilities:
Get file size
Read file on windows

Disassembly:
mov ecx, edx
mov eax, 0xffffffff
xor ecx, eax
and ecx, 0x6f3ac8
and ebx, 0xff90c537
or ebx, ecx
and ebx, 0xffff
push 0x218cb506
mov eax, 0x27a3461a
pop edi
xor eax, edi
push eax
push 0x4e8bc621
mov edx, 0x48a4353d
pop esi
xor edx, esi
pop ecx
xor edx, ecx
xor edx, ebx
or edx, 0
jne 0x403442
mov edx, 0x30201020
mov ebx, 0x3e881
call 0xda71340c
mov eax, 0x17a44f10
xor eax, 0x2787b7b1

Function at 0x403414
Capabilities:
Get file size
Read file on windows

Disassembly:
xor eax, edx
push 0x4c3e2d6e
mov esi, 0x16d323f0

Function at 0x403420
Capabilities:
Get file size
Read file on windows

Disassembly:
pop edx
xor esi, edx
mov edi, esi
xor edi, 0xffffffff
and edi, 0x5aed0e9e
and esi, 0xa512f161
or esi, edi
xor eax, esi
add esp, 0xfffffffc
push esp
pop edi
mov dword [edi], eax
pop ecx
mov edi, 0x7238ebed
mov edx, 0x7238ebed
xor edx, edi
push 0x60814783
Function at 0x403494
Capabilities:
Get file size
Read file on windows

Disassembly:
mov ecx, 0x2d6b3b7
mov edi, 0x379a2303
xor edi, ecx
xor edi, ebx
xor esi, edi
xor ebx, ebx
add ebx, esi
mov edx, ebx
mov edi, edx
mov ecx, edi
push ecx
pop ebx
add ebx, 0xffffffff
and ebx, 0x7fffffff
mov ecx, ebx
mov edi, 0
xor edi, ecx
mov edx, edi
add esp, 0xfffffffc
mov dword [esp], edx
mov eax, 0x10052848
mov edx, 0x2a084683
xor eax, edx
push 0x7632a28c
mov ecx, 0x4c3fcc47
pop edi
xor ecx, edi
xor ecx, eax
xor ecx, ebx
and ecx, ebx
jne 0x4034af
pop eax

Function at 0x4034f0
Capabilities:
Get file size
Read file on windows

Disassembly:
pop eax
jmp 0x4038b9
mov ecx, 0x52c5ec1c
xor ecx, 0x6410fcd1
push ecx
push 0x783e33d3
mov edx, 0x4eabf276
pop ecx
xor edx, ecx
pop ebx
xor edx, ebx
mov esi, 0
xor esi, edx
mov edi, 0xffffffff
add esi, edi
mov eax, dword [esi + 1]
mov esi, 0x6fb88695
xor esi, 0x6fb88695
mov ebx, 0x7d716ab4
xor ebx, 0x7d716ab4
xor esi, ebx
mov edi, esi
add esp, 0xfffffffc
mov dword [esp], edi
xor ecx, ecx
add ecx, esp
add esp, 0xfffffffc
mov dword [esp], ecx
mov ebx, 0x698bfbe7
xor ebx, 0x9915827
mov ecx, ebx
xor ecx, 0xffffffff
and ecx, 0x601aa380
and ebx, 0x9fe55c7f
or ebx, ecx
add esp, 0xfffffffc
mov esi, esp
mov dword [esi], ebx
mov esi, 0x6ff61491
mov edx, 0x6ff68491
xor edx, esi
mov ecx, 0x6bdd1444
xor ecx, 0x6bdd1044
xor edx, ecx
mov esi, edx
add esp, 0xfffffffc
mov dword [esp], esi
mov edi, 0
mov ebx, 0
xor edi, ebx
mov esi, 0x7f7b216b
xor esi, 0x7f3b316b
xor edi, esi
mov ecx, edi
add esp, 0xfffffffc
mov dword [esp], ecx
call eax
mov ebx, 0x4012d0
mov ecx, ebx
mov esi, ecx
mov edi, esi
add esp, 0xfffffffc
mov dword [esp], edi
mov edx, ebx
push edx
pop ecx
xor edi, edi
add edi, ecx
mov ebx, 0xb182081
mov eax, 0x40e20900
xor ebx, eax
mov eax, 0x2da42532
movsb byte es:[edi], byte [esi]
sub eax, 0x5e0f44ba
xor dx, ax
xor edx, ebx
add edi, edx
add edi, 0xffffffff
add ecx, edx
add esp, 0xfffffffc
xor eax, eax
add eax, esp
mov dword [eax], edx
mov eax, ecx
mov esi, eax
mov eax, esi
push eax
xor edx, edx
mov dl, byte [edi]
add ecx, edx
mov dl, byte [ecx]
pop ecx
mov byte [edi], dl
add edi, 0xffffffff
pop edx
dec edx
mov esi, edx
push esi
pop eax
and eax, edx
jne 0x4039b6
pop esi
mov edx, 0x40c020
mov ecx, 0
xor edx, ecx
mov edi, 0x5d82a839
xor edi, 0x5d82b9a1
xor edx, edi
xor edi, edi
add edi, edx
sub edi, 0xffffffac
invalid

Function at 0x4039a4
Capabilities:
Get file size
Read file on windows

Disassembly:
movsb byte es:[edi], byte [esi]
sub eax, 0x5e0f44ba
xor dx, ax

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406cc8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404dd0
add esp, 0x104
pop ebx
ret
Function at 0x118b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x118b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x11b4074
push ecx
mov edi, eax
call fcn.0119f198
mov esi, eax
add esp, 8
test esi, esi
jne 0x118b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0119f02e
push esi
call fcn.0119efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x118e850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x118e8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x11b9720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x118e8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0119f1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x118e8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x11b9720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x118e92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.011a0082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x118e957
mov word [eax], si
add eax, 2
push eax
call fcn.011a0030
add esp, 4
jmp 0x118e959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x118e8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x118e8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x118eff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x118f080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x118f0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x11b4458
push ecx
call fcn.0119f1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0119f1e1
add esp, 0x10
jmp 0x118f0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0119f20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0119edff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0118f050
mov eax, dword [0x11b9728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x118f13b
push esi
call fcn.0118efb0
add esp, 4
mov dword [0x11b9728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x118f14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0118eff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x1192440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x11924b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x119248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1192471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x119247e
add edx, ecx
cmp ebx, edx
jb 0x119248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1192467
xor ecx, ecx
jmp 0x11924a2
test eax, eax
jne 0x1192492
xor ecx, ecx
jmp 0x11924a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.011923c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x11928f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1192921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x1192946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x119296e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x1192993
push ecx
push esi
call fcn.011924c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x1193c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x1193c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x1193c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x1193c38
add edx, eax
cmp ebx, edx
jb 0x1193c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x1193c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x1193c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x1193c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x1193cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1193c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x1193ca8
add edx, ecx
cmp ebx, edx
jb 0x1193cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1193c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1193f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.011a0145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x1193ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1193fdd
lea eax, [esp + 0x18]
push eax
jmp 0x1193fe2
push 0x11b9720
call fcn.0119ffd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x1193fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x1193f40
push 4
push ecx
push eax
call fcn.011a043f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret