joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eaa4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465c24]
cmp byte [eax + 0xc], 0
je 0x44ec11
push 0x8000
call fcn.00406914
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ec0a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46ac50], 0
jne 0x44eaf8
push 0x44ec18
call fcn.0040687c
mov ebx, eax
push 0x44ec20
push ebx
call fcn.00406884
mov dword [0x46ac50], eax
cmp dword [0x465640], 0
jne 0x44ebf3
push 0x44ec30
call fcn.004068dc
mov dword [0x465640], eax
cmp dword [0x465640], 0
je 0x44ebf3
push 0x44ec3c
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac54], eax
push 0x44ec4c
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac58], eax
push 0x44ec60
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac5c], eax
push 0x44ec78
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac60], eax
push 0x44ec90
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac64], eax
push 0x44eca4
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac68], eax
push 0x44ecbc
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac6c], eax
push 0x44ecd4
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac70], eax
push 0x44ecf0
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac74], eax
push 0x44ecfc
mov eax, dword [0x465640]
push eax
call fcn.00406884
mov dword [0x46ac78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ec11
mov eax, dword [ebp - 4]
push eax
call fcn.00406914
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x455778
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call fcn.00406e34
mov edi, eax
test bl, bl
je 0x455799
test edi, 0x40000
je 0x4557b3
test bl, bl
jne 0x455834
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x455834
push esi
call fcn.00406eac
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call fcn.00406ed4
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4557e6
push 0
push esi
call fcn.00407084
test bl, bl
je 0x4557fb
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call fcn.00407044
jmp 0x45580a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call fcn.00407044
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45581b
cmp byte [esp + 2], 0
je 0x455834
cmp byte [esp + 2], 0
je 0x45582c
push 6
push esi
call fcn.00407084
jmp 0x455834
push 5
push esi
call fcn.00407084
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x455ad8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call fcn.00406ce4
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x455afe
mov eax, esp
push eax
push 0x455aa0
call fcn.00406cbc
jmp 0x455b11
mov eax, esp
push eax
push 0x455a80
call fcn.0040683c
push eax
call fcn.00406cb4
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret
Function at 0x455b9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x455bf0]
test si, 4
je 0x455bb1
or bl, 1
test si, 8
je 0x455bbb
or bl, 4
test si, 1
je 0x455bc5
or bl, 8
test si, 2
je 0x455bcf
or bl, 0x10
test si, 0x10
je 0x455bd9
or bl, 0x20
push 0x12
call fcn.00406d5c
test ax, ax
jge 0x455be8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455bf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x455c30]
push 0x10
call fcn.00406d5c
test ax, ax
jge 0x455c0e
or bl, 1
push 0x11
call fcn.00406d5c
test ax, ax
jge 0x455c1d
or bl, 4
test esi, 0x20000000
je 0x455c28
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45dda4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ddb6
add esp, 0xfffffff0
call fcn.00403d48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a3d0
mov eax, dword [0x4658d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e148
mov eax, dword [0x4658e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e154
mov eax, ebx
call fcn.0045e160
push 0
call fcn.00406d64
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x7c], eax
push 0
call fcn.00406d24
mov esi, eax
push 0x5a
push esi
call fcn.00406a3c
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.00406f8c
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x459608
push eax
push 0
push 0
mov eax, dword [0x465a34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dfb4]
call fcn.0041f808
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dfb4]
call fcn.0041f808
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dfb4]
call fcn.0041f808
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e5d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45def3
call fcn.00403da0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e28c
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 0x45e437
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e418
mov dl, 1
mov eax, dword [0x4125a4]
call fcn.004039f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404850
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00406d6c
dec eax
test eax, eax
jl 0x45e407
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.0044ee00
test al, al
je 0x45e3fa
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, 0x45e448
lea eax, [ebp - 0x254]
call fcn.00409528
push eax
push 0x80000002
call fcn.004067b4
test eax, eax
jne 0x45e3fa
xor eax, eax
push ebp
push 0x45e3f3
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 0x45e480
mov eax, dword [ebp - 0xc]
push eax
call fcn.004067bc
test eax, eax
jne 0x45e3dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
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 0x45e3dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e3fa
mov eax, dword [ebp - 0xc]
push eax
call fcn.004067a4
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e2fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041627c
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 0x45e43e
lea eax, [ebp - 0x260]
call fcn.00404850
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ac94]
cmp byte [eax + 0xad], 0
jne 0x45ee21
cmp dword [0x46acb0], 0
jne 0x45ede2
call fcn.0040683c
push eax
push 0
mov eax, 0x45ed6c
push eax
push 3
call fcn.0040706c
mov dword [0x46acb0], eax
cmp dword [0x46acac], 0
jne 0x45edfd
push 0
push 0
push 0
push 0
call fcn.004067d4
mov dword [0x46acac], eax
cmp dword [0x46acb4], 0
jne 0x45ee21
push esp
push 0
push 0
push 0x45ed10
push 0x3e8
push 0
call fcn.004067e4
mov dword [0x46acb4], eax
pop edx
ret
Function at 0x45f024
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f03b
add esp, 0xfffffff0
call fcn.00403d48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a3d0
mov eax, dword [0x465a20]
cmp word [eax + 2], 0
jne 0x45f063
mov eax, dword [0x465a20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460d14
mov eax, dword [0x465ac8]
cmp word [eax + 2], 0
jne 0x45f07d
mov eax, dword [0x465ac8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460f20
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412180]
call fcn.004039f4
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41eac4]
call fcn.004261cc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45f234
mov eax, dword [0x465948]
mov eax, dword [eax]
push eax
call fcn.00406efc
mov edx, eax
mov eax, esi
call fcn.004265a0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4615e4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465948]
mov eax, dword [eax]
push eax
call fcn.00406874
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.00406f2c
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ccf8
test eax, eax
je 0x45f184
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ee0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd2c
test eax, eax
je 0x45f198
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call fcn.00406bcc
push eax
call fcn.00406ba4
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
mov byte [ebx + 0xd4], 0
push ebx
push 0x4607a0
call fcn.0041b54c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46583c]
cmp byte [eax], 0
jne 0x45f1e9
mov eax, ebx
call fcn.0045f378
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004617f8
mov eax, ebx
call fcn.0046235c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f229
call fcn.00403da0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f5f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45f697
cmp dword [ebx + 0x94], 0
jne 0x45f691
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f580
call fcn.00406cbc
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f691
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00406e24
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00406e34
test al, 8
je 0x45f657
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f691
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.00414524
push eax
call fcn.0040705c
dec esi
cmp esi, 0xffffffff
jne 0x45f666
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f8b0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ac94]
cmp dword [eax + 0x30], 0
je 0x45fa0d
test bl, bl
jne 0x45f95e
cmp dword [esi + 0x9c], 0
jne 0x45f953
mov eax, esi
call fcn.004621d8
push eax
push 0x45f7dc
call fcn.00406cbc
cmp dword [esi + 0x44], 0
je 0x45f924
mov eax, dword [0x46ac94]
call fcn.004628b8
test al, al
je 0x45f924
mov eax, dword [0x46acb8]
call fcn.0040572c
mov edi, eax
cmp edi, 0
jl 0x45f924
push 0
mov eax, dword [0x46acb8]
mov eax, dword [eax + edi*4]
push eax
call fcn.00407084
dec edi
cmp edi, 0xffffffff
jne 0x45f90e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f953
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414524
push eax
call fcn.00407074
dec edi
cmp edi, 0xffffffff
jne 0x45f933
inc dword [esi + 0x9c]
jmp 0x45fa0d
cmp dword [esi + 0x9c], 0
jle 0x45fa0d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45fa0d
cmp dword [esi + 0x44], 0
je 0x45f9b9
mov eax, dword [0x46ac94]
call fcn.004628b8
test al, al
je 0x45f9b9
mov eax, dword [0x46acb8]
call fcn.0040572c
mov edi, eax
cmp edi, 0
jl 0x45f9b9
push 5
mov eax, dword [0x46acb8]
mov eax, dword [eax + edi*4]
push eax
call fcn.00407084
dec edi
cmp edi, 0xffffffff
jne 0x45f9a3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f9e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414524
push eax
call fcn.00407074
dec edi
cmp edi, 0xffffffff
jne 0x45f9c8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46acb8
mov ecx, 1
mov edx, dword [0x45f7bc]
call fcn.004058e0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4604f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46055e
mov eax, ebx
call fcn.004628b8
test al, al
jne 0x46055e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.00406e54
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404940
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46054b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46056b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a4
jmp 0x46056b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4619dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461a4a
mov eax, esi
call fcn.004499e8
test al, al
je 0x461a4a
mov eax, dword [ebx + 0x84]
call fcn.00449648
push eax
call fcn.00406ed4
test eax, eax
je 0x461a4a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x461a3e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449648
push eax
call fcn.00407084
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004414b8
jmp 0x461a4a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00461818
pop esi
pop ebx
ret
Function at 0x4046d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004068e0
test esi, esi
jne 0x40470e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406a48
jmp 0x40472c
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040461c
mov edi, eax
test esi, esi
je 0x40472c
cmp dword [ebx], 0
je 0x40472c
dec esi
jmp 0x404715
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405640
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405a2c
mov byte [esp], al
cmp byte [esp], 0
jne 0x4057c9
test edi, edi
je 0x4057c9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405700
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4056db
cmp edi, 0xffffffff
je 0x40569f
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40569f
mov byte [esp], 0
jmp 0x4057c9
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4056db
test ebx, ebx
jne 0x4056d4
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402568
test eax, eax
jne 0x4056d4
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4057c9
pause
dec ebp
test ebp, ebp
jg 0x405684
cmp edi, 0xffffffff
je 0x405700
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4056fe
mov byte [esp], 0
jmp 0x4057c9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40564e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x405700
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040583c
mov edx, eax
mov ebx, dword [0x4b78c8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405767
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405765
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405767
xor edi, edi
cmp byte [esp], 0
je 0x405790
mov ebx, dword [esi]
test bl, 1
jne 0x4057a9
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x40576d
mov byte [esp + 1], 1
jmp 0x4057a9
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x405790
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40571a
cmp byte [esp], 0
je 0x4057c9
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406544
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b7050], 0
je 0x4065a5
cmp word [0x4b732c], 0xd7b2
jne 0x40656d
cmp dword [0x4b7334], 0
jbe 0x40656d
mov eax, 0x4b7328
call dword [0x4b7344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4065d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b4028], 0
jne 0x4065c1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40679c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4b402c], 0
je 0x4067c7
mov edx, edi
mov eax, esi
call dword [0x4b402c]
mov ebx, eax
jmp 0x4067d8
mov eax, 8
call fcn.00404350
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4b7051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406764
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40680d
mov edx, 8
mov eax, ebx
call fcn.0040436c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408900
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408a65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004068e0
cmp si, word [0x4b47dc]
jb 0x408998
cmp si, word [0x4b49dc]
ja 0x408998
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408998
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4b47dc]
jae 0x408972
mov edi, ebx
dec edi
jmp 0x408993
cmp si, word [ebx*8 + 0x4b47dc]
jbe 0x408982
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408993
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4b47e0]
call fcn.00408810
jmp 0x408998
cmp edi, dword [ebp - 8]
jae 0x40895c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408a47
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408a47
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x160]
push 0x408a80
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x164]
push 0x408a90
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004074e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a6c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406940
ret
Function at 0x408c18
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408d1b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b9b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b9b6a]
jne 0x408c64
mov eax, esi
mov edx, 0x4b9b6c
mov ecx, 0x55
call fcn.004072b0
push 0x4b9b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408d05
push 0x4b9b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004068e0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408cd3
cmp byte [0x4b9b50], 0
je 0x408c98
mov edx, esi
mov eax, ebx
call fcn.00408afc
jmp 0x408cd3
mov edx, esi
mov eax, ebx
call fcn.00408900
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408cd3
cmp dword [esi], 0
je 0x408cbc
mov eax, esi
mov edx, 0x408d34
call fcn.00407408
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408900
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407408
push 0x4b9b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b9b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407224
push eax
push 0x4b9b6c
call sub.kernel32.dll_lstrcpynW
push 0x4b9b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408d22
lea eax, [ebp - 4]
call fcn.004068e0
ret