joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bac4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43bae0
cmp dword [esi + 4], 0
je 0x43bb0d
test byte [ebx + 0x55], 1
jne 0x43baff
mov eax, ebx
call fcn.0043a664
test eax, eax
jne 0x43baff
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43bc1d
mov edx, esi
mov eax, ebx
call fcn.0043b5e8
jmp 0x43bc1d
push 0
call fcn.004063f8
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call fcn.00406078
mov dword [ebp - 8], eax
push edi
push 0
call fcn.00406640
push 0
call fcn.00406080
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004061e8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43bc16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d934
push eax
call fcn.00406280
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00438300
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043bac4
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call fcn.00406058
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d934
push eax
call fcn.00406380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bc1d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004061e8
mov eax, dword [ebp - 4]
push eax
call fcn.004060c0
mov eax, dword [ebp - 8]
push eax
call fcn.004060d0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4422f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45e220]
cmp byte [eax + 0xc], 0
je 0x44245d
push 0x8000
call fcn.00405fe0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442456
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45fb98], 0
jne 0x442344
push 0x442464
call fcn.00405ef8
mov ebx, eax
push 0x44246c
push ebx
call fcn.00405f00
mov dword [0x45fb98], eax
cmp dword [0x45dbe0], 0
jne 0x44243f
push 0x44247c
call fcn.00405f98
mov dword [0x45dbe0], eax
cmp dword [0x45dbe0], 0
je 0x44243f
push 0x442488
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fb9c], eax
push 0x442498
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fba0], eax
push 0x4424ac
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fba4], eax
push 0x4424c4
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fba8], eax
push 0x4424dc
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbac], eax
push 0x4424f0
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbb0], eax
push 0x442508
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbb4], eax
push 0x442520
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbb8], eax
push 0x44253c
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbbc], eax
push 0x442548
mov eax, dword [0x45dbe0]
push eax
call fcn.00405f00
mov dword [0x45fbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44245d
mov eax, dword [ebp - 4]
push eax
call fcn.00405fe0
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4462e8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.004065c0
shl eax, 0x10
test eax, eax
je 0x446337
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.00406428
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44da74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44dac4]
test si, 4
je 0x44da88
or bl, 1
test si, 8
je 0x44da92
or bl, 4
test si, 1
je 0x44da9c
or bl, 8
test si, 2
je 0x44daa6
or bl, 0x10
test si, 0x10
je 0x44dab0
or bl, 0x20
push 0x12
call fcn.00406430
test ax, ax
jge 0x44dabf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44dac8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44db00]
push 0x10
call fcn.00406430
test ax, ax
jge 0x44dae1
or bl, 1
push 0x11
call fcn.00406430
test ax, ax
jge 0x44daf0
or bl, 4
test esi, 0x20000000
je 0x44dafb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4541a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4541ba
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419470
mov eax, dword [0x45dee4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45454c
mov eax, dword [0x45def0]
mov dword [eax + 4], ebx
mov dword [eax], 0x454558
mov eax, ebx
call fcn.00454564
push 0
call fcn.00406438
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x7c], eax
push 0
call fcn.004063f8
mov esi, eax
push 0x5a
push esi
call fcn.00406118
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.00406640
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x450980
push eax
push 0
push 0
mov eax, dword [0x45e038]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aedc]
call fcn.0041c650
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aedc]
call fcn.0041c650
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aedc]
call fcn.0041c650
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454984
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454860
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454860
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454860
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4542f7
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x454644
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 0x4547ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4547d0
mov dl, 1
mov eax, dword [0x411b84]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00406440
dec eax
test eax, eax
jl 0x4547bf
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.00442650
test al, al
je 0x4547b2
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, 0x454800
lea eax, [ebp - 0x254]
call fcn.00408ae0
push eax
push 0x80000002
call fcn.00405e28
test eax, eax
jne 0x4547b2
xor eax, eax
push ebp
push 0x4547ab
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 0x454838
mov eax, dword [ebp - 0xc]
push eax
call fcn.00405e30
test eax, eax
jne 0x454794
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x454794
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4547b2
mov eax, dword [ebp - 0xc]
push eax
call fcn.00405e20
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4546b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415660
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 0x4547f6
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x45fbe4]
cmp byte [eax + 0xa5], 0
jne 0x455195
cmp dword [0x45fbfc], 0
jne 0x455156
call fcn.00405eb8
push eax
push 0
mov eax, 0x4550e0
push eax
push 3
call fcn.00406710
mov dword [0x45fbfc], eax
cmp dword [0x45fbf8], 0
jne 0x455171
push 0
push 0
push 0
push 0
call fcn.00405e48
mov dword [0x45fbf8], eax
cmp dword [0x45fc00], 0
jne 0x455195
push esp
push 0
push 0
push 0x455084
push 0x3e8
push 0
call fcn.00405e58
mov dword [0x45fc00], eax
pop edx
ret
Function at 0x45528c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4552a3
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419470
mov eax, dword [0x45e024]
cmp word [eax + 2], 0
jne 0x4552cb
mov eax, dword [0x45e024]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456964
mov eax, dword [0x45e0d0]
cmp word [eax + 2], 0
jne 0x4552e5
mov eax, dword [0x45e0d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456b5c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411768]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b9bc]
call fcn.00422d70
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45546c
mov eax, dword [0x45df44]
mov eax, dword [eax]
push eax
call fcn.004065a8
mov edx, eax
mov eax, esi
call fcn.00423140
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4570fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45df44]
mov eax, dword [eax]
push eax
call fcn.00405ef0
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.004065e0
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c1b0
test eax, eax
je 0x4553da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c1d8
test eax, eax
je 0x4553ee
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00406278
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x45de38]
cmp byte [eax], 0
jne 0x455422
mov eax, ebx
call fcn.00455594
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004572d8
mov eax, ebx
call fcn.00457c9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455462
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455814
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fbe4]
cmp dword [eax + 0x30], 0
je 0x4558be
cmp dword [ebx + 0x94], 0
jne 0x4558b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4557a4
call fcn.00406390
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4558b8
push 3
mov eax, dword [esp + 4]
push eax
call fcn.004064e8
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.004064f8
test al, 8
je 0x45587e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4558b8
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.00413ad0
push eax
call fcn.00406700
dec esi
cmp esi, 0xffffffff
jne 0x45588d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456420
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 0x456455
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.00406510
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x456462
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4574b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4574f5
mov eax, esi
call fcn.0043dc38
test al, al
je 0x4574f5
mov eax, dword [ebx + 0x84]
call fcn.0043d934
push eax
call fcn.00406580
test eax, eax
je 0x4574f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d934
push eax
call fcn.00406730
pop esi
pop ebx
ret
Function at 0x3e5f3e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x269d000]
push edi
or ebp, 0xffffffff
jmp 0x3e5f402
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3e5f409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3e5f3f8
mov eax, 1
add ebx, ebx
jne 0x3e5f41b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3e5f410
jne 0x3e5f42c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3e5f410
xor ecx, ecx
sub eax, 3
jb 0x3e5f440
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3e5f4b2
mov ebp, eax
add ebx, ebx
jne 0x3e5f44b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x3e5f458
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x3e5f47c
inc ecx
add ebx, ebx
jne 0x3e5f468
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3e5f45d
jne 0x3e5f479
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3e5f45d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3e5f49c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3e5f48d
jmp 0x3e5f3fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3e5f49c
add edi, ecx
jmp 0x3e5f3fe
pop esi
mov edi, esi
mov ecx, 0x5ac24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3e5f4ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x3e5f4bf
lea edi, [esi + 0x3a5d000]
mov eax, dword [edi]
or eax, eax
je 0x3e5f530
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a65378]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a653b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3e5f4e5
mov ecx, edi
jns 0x3e5f514
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a653b8]
or eax, eax
je 0x3e5f52a
mov dword [ebx], eax
add ebx, 4
jmp 0x3e5f502
call dword [esi + 0x3a653c0]
mov ebp, dword [esi + 0x3a653bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x3e5f564
sub esp, 0xffffff80
jmp 0x44e188
Function at 0x403398
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x460020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403430
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403410
xor eax, eax
push ebp
push 0x403409
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40344c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403410
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x460020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x460020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404134
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46204c], 0
je 0x404195
cmp word [0x462220], 0xd7b2
jne 0x40415d
cmp dword [0x462228], 0
jbe 0x40415d
mov eax, 0x46221c
call dword [0x462238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x4041b1
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4061cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406232
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404528
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f5c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40621c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406239
lea eax, [ebp - 0x10]
call fcn.004042b8
ret

Function at 0x40b404
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_1
test eax, eax
jle 0x40b43d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043a8
jmp 0x40b446
mov eax, ebx
mov edx, esi
call fcn.0040430c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b450
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_1
test eax, eax
jle 0x40b471
mov al, byte [esp]
jmp 0x40b473
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb08
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b970
mov eax, dword [0x461160]
cmp byte [eax], 0
je 0x40bb84
mov eax, dword [0x460f74]
call fcn.00402dc8
call fcn.00402c3c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408bc0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bbcc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbba
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x460f24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462668]
call fcn.0040561c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c47c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c552
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404350
lea eax, [ebp - 8]
call fcn.004047c8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404778
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c53c
mov eax, ebx
call fcn.00402ab0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c535
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404778
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c51f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c564
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c51f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c53c
mov eax, dword [ebp - 0x10]
call fcn.00402ae0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c559
lea eax, [ebp - 8]
call fcn.004042b8
ret

Function at 0x40cac0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cb24
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404528
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004086d4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb2b
lea eax, [ebp - 0xc]
call fcn.004042b8
ret