joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10097b40
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0x400
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.100a76a0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10097b6e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xff
jg 0x10097c08
push 8
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.10097d50
shl eax, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x10097ba7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x10097be6
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
and eax, 0x80000000
je 0x10097bc6
mov dword [ebp - 0x10], 0x4c11db7
jmp 0x10097bcd
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
shl eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x10097b9e
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
push edx
mov ecx, dword [ebp - 8]
call fcn.10097d50
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x10097b65
mov esp, ebp
pop ebp
ret

Function at 0x10097c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x408], 0xffffffff
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x410], 0
push 0x100d9068
mov eax, dword [ebp + 8]
push eax
call fcn.100ac5ae
add esp, 8
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x10097c6c
or eax, 0xffffffff
jmp 0x10097cd4
mov ecx, dword [ebp - 0x40c]
push ecx
push 0x400
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.100aedc6
add esp, 0x10
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
push eax
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [ebp - 0x414]
call fcn.10097cf0
nop
cmp dword [ebp - 0x410], 0x400
je 0x10097c6c
mov eax, dword [ebp - 0x40c]
push eax
call fcn.100ae2bb
add esp, 4
mov eax, dword [ebp - 0x408]
xor eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret 4
Function at 0x1009abf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8660
mov eax, dword fs:[0]
push eax
sub esp, 0xc54
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc5c], esp
lea eax, [ebp + 8]
push eax
call fcn.10008920
lea ecx, [ebp - 0xc54]
push ecx
mov ecx, dword [0x10103414]
call fcn.10011990
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 2
mov byte [ebp - 0x3c], 0x55
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x6b
mov byte [ebp - 0x39], 0x6e
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x77
mov byte [ebp - 0x36], 0x6e
mov byte [ebp - 0x35], 0x20
mov byte [ebp - 0x34], 0x64
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x76
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x63
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x64
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x63
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x21
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 0x25
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x2d
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x25
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0x76
mov byte [ebp - 0x17], 0x62
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], pe_nt_image_headers32
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc54]
call fcn.10007e30
push eax
call fcn.100a7930
add esp, 8
test eax, eax
je 0x1009adec
call fcn.1009a750
movzx eax, al
test eax, eax
jne 0x1009ad51
push 1
lea ecx, [ebp + 0x20]
call fcn.10007e30
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x2000
lea edx, [ebp - 0xc3c]
push edx
call fcn.1009dec0
add esp, 0x14
lea eax, [ebp - 0xc3c]
push eax
push 0
mov ecx, dword [0x101034c0]
push ecx
call fcn.1004d5f0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.10007e30
push eax
push str.._s
push 0x2000
lea edx, [ebp - 0x43c]
push edx
call fcn.1009dec0
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [0x101034a4]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0xc58], edx
mov ecx, dword [ebp - 0xc58]
call dword [0x100e7c14]
call dword [ebp - 0xc58]
cmp eax, 0xffffffff
jne 0x1009adec
push 2
lea ecx, [ebp + 0x20]
call fcn.10007e30
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x2000
lea ecx, [ebp - 0xc3c]
push ecx
call fcn.1009dec0
add esp, 0x14
lea edx, [ebp - 0xc3c]
push edx
push 0
mov eax, dword [0x101034c0]
push eax
call fcn.1004d5f0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc54]
call fcn.10002d70
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10002d70
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005677
mov esp, ebp
pop ebp
ret
Function at 0x1009bd67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100ed440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x3c], ecx
pushf
push 0xa
jae 0x1009bce3
jmp 0x1009bcde
call 0x1009bce5
jae 0x1009bcde
add esp, 4
jmp 0x1009bcea
dec dword [esp]
jno 0x1009bcef
jns 0x1009bcda
jp 0x1009bcf3
add esp, 4
popf
jmp 0x1009bcfa
clc
jae 0x1009bcff
mov byte [0x81525021], al
nop
add byte [eax], al
add byte [edx - 0x7f], dl
ljmp 0x358
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x1009bd18
jne 0x1009bd18
and dword [ebx + eax - 0x15], edi
add esp, dword [ecx]
jl 0x1009bd1d
jmp 0x1009bd1f
je 0x1009bd1a
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x1009bd39
jne 0x1009bd38
call 0x930dadc0
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x1009bd47
jne 0x1009bd47
call 0x100d1233
add byte [edi], cl
mov dh, 0xc0
call 0x1009c0a0
movzx eax, al
test eax, eax
je 0x1009be4c
mov byte [ebp - 0x38], 0x46
mov byte [ebp - 0x37], 0x61
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x61
mov byte [ebp - 0x34], 0x6c
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x32], 0x45
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x6f
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2a], 0x20
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x73
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x20
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x7a
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x21
mov byte [ebp - 0x13], 0x20
mov byte [ebp - 0x12], 0x45
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x20
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x3a
mov byte [ebp - 7], 0x20
mov byte [ebp - 6], 0x38
mov byte [ebp - 5], 0
mov ecx, dword [0x101034a8]
call fcn.10009e20
push eax
push 0
push 0x100da413
push 0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [0x10103414]
call fcn.10011500
nop
jl 0x1009be51
jmp 0x1009be53
je 0x1009be4e
xor eax, eax
test eax, eax
je 0x1009be5c
jne 0x1009be5b
call 0x930daee3
rol byte [ebx + eax*4], 0xf0
add eax, 0xc30273f8
outsb dx, byte [esi]
xor eax, 3
add eax, 4
xor eax, 5
clc
jae 0x1009be6a
ret
je 0x1009be6f
jne 0x1009be6f
outsb dx, byte [esi]
pushf
push 0xa
jae 0x1009be7c
jmp 0x1009be77
call 0x1009be7e
jae 0x1009be77
add esp, 4
jmp 0x1009be83
dec dword [esp]
jno 0x1009be88
invalid
jns 0x1009be73
Function at 0x100a1580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100a1688
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100a1688
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x100a1688
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 2
je 0x100a15c9
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x100a15bd
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 4
jne 0x100a15bd
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100a15f8
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 2
jne 0x100a15bd
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x100a1653
cmp eax, 0x8664
jne 0x100a15bd
push 0x108
push ebx
push edi
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 0x108
jne 0x100a15bd
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.1009e0c0
add esp, 0x10
cmp eax, 0xf8
jne 0x100a15bd
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100b1cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b1cfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b1cfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x11e7700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
jmp 0x11e771a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11e7721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11e7710
mov eax, 1
add ebx, ebx
jne 0x11e7733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11e7744
jne 0x11e7763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11e7763
dec eax
add ebx, ebx
jne 0x11e7750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x11e7728
add ebx, ebx
jne 0x11e775f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11e77b5
xor ecx, ecx
sub eax, 3
jb 0x11e777b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x11e77ea
sar eax, 1
mov ebp, eax
jmp 0x11e7786
add ebx, ebx
jne 0x11e7786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11e7754
inc ecx
add ebx, ebx
jne 0x11e7794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11e7754
add ebx, ebx
jne 0x11e77a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11e7796
jne 0x11e77b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11e7796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11e77d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11e77c6
jmp 0x11e7716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11e77d4
add edi, ecx
jmp 0x11e7716
pop esi
mov edi, esi
mov ecx, 0xc1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x11e77f2
cmp byte [edi], 9
jne 0x11e77f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x11e77f7
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x11e7866
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b29c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b300]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x11e7824
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5b304]
or eax, eax
je 0x11e7860
mov dword [ebx], eax
add ebx, 4
jmp 0x11e7841
call dword [esi + 0x5b314]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x11e7897
cmp al, 0xef
ja 0x11e788a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x11e786c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x11e7879
mov ebp, dword [esi + 0x5b308]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x11e78cb
sub esp, 0xffffff80
jmp 0x119a235
Function at 0x4cbcd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
jmp 0x4cbcea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cbcf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbce0
mov eax, 1
add ebx, ebx
jne 0x4cbd03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cbd14
jne 0x4cbd33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbd33
dec eax
add ebx, ebx
jne 0x4cbd20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cbcf8
add ebx, ebx
jne 0x4cbd2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cbd85
xor ecx, ecx
sub eax, 3
jb 0x4cbd4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cbdba
sar eax, 1
mov ebp, eax
jmp 0x4cbd56
add ebx, ebx
jne 0x4cbd56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbd24
inc ecx
add ebx, ebx
jne 0x4cbd64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbd24
add ebx, ebx
jne 0x4cbd71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cbd66
jne 0x4cbd82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cbd66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cbda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cbd96
jmp 0x4cbce6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cbda4
add edi, ecx
jmp 0x4cbce6
pop esi
mov edi, esi
mov ecx, 0x38ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cbdc2
cmp byte [edi], 0x14
jne 0x4cbdc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x4cbdc7
lea edi, [esi + 0xc8000]
mov eax, dword [edi]
or eax, eax
je 0x4cbe3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdcbec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdccb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cbdf4
mov ecx, edi
jns 0x4cbe23
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 + 0xdccb8]
or eax, eax
je 0x4cbe39
mov dword [ebx], eax
add ebx, 4
jmp 0x4cbe11
call dword [esi + 0xdccc8]
mov ebp, dword [esi + 0xdccbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4cbe73
sub esp, 0xffffff80
jmp 0x4477fb
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444004]
jne 0x401010
repz ret
jmp fcn.004017e2

Function at 0x407455
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.0040229e
and dword [ebp - 4], 0
cmp dword [0x447480], 0
mov ebx, eax
jne 0x407506
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4075b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4075b7
push eax
call fcn.0040222c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x447480], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x447484], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x447488], eax
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x447490], eax
test eax, eax
je 0x407506
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x44748c], eax
mov eax, dword [0x44748c]
cmp eax, ebx
je 0x40755e
cmp dword [0x447490], ebx
je 0x40755e
push eax
call fcn.004022a7
push dword [0x447490]
mov esi, eax
call fcn.004022a7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40755e
test edi, edi
je 0x40755e
call esi
test eax, eax
je 0x407555
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407555
test byte [ebp - 0xc], 1
jne 0x40755e
or dword [ebp + 0x10], 0x200000
jmp 0x407597
mov eax, dword [0x447484]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407597
mov eax, dword [0x447488]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447480]
call fcn.004022a7
pop ecx
test eax, eax
je 0x4075b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4075b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43cd60
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x445000]
push ebx
mov ebx, dword [0x818294]
push esi
mov esi, dword [0x8180dc]
push eax
call fcn.0043cc50
add esp, 4
cmp dword [0x818294], 0x2f
jne 0x43cd8b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call fcn.0043ccc0
add esp, 4
cmp dword [0x818294], 0x568
pop esi
pop ebx
jne 0x43cdaa
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
ret
Function at 0x402b84
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047e8
test esi, esi
jne 0x402bba
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004048d8
jmp 0x402bd8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a38
mov edi, eax
test esi, esi
je 0x402bd8
cmp dword [ebx], 0
je 0x402bd8
dec esi
jmp 0x402bc1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403824
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40389c
xor eax, eax
push ebp
push 0x403895
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 0x4038d8
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 0x40389c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fd04c], 0
je 0x404629
cmp word [0x4fd220], 0xd7b2
jne 0x4045f1
cmp dword [0x4fd228], 0
jbe 0x4045f1
mov eax, 0x4fd21c
call dword [0x4fd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f9070
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 0x404650
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f9030], 0
jne 0x404645
push 0
push 0x4f9068
push 0x4f9070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40479c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027c4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fd04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404764
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406834
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 0x40689a
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.00404a58
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004033dc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406884
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068a1
lea eax, [ebp - 0x10]
call fcn.004047e8
ret

Function at 0x409650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ca8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409669
test al, 0x10
jne 0x40966d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c614
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 0x40c64d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004048d8
jmp 0x40c656
mov eax, ebx
mov edx, esi
call fcn.0040483c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c660
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 0x40c681
mov al, byte [esp]
jmp 0x40c683
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cd08
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cb80
mov eax, dword [0x4fcc98]
cmp byte [eax], 0
je 0x40cd84
mov eax, dword [0x4fc888]
call fcn.00403004
call fcn.0040292c
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.00409b00
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 0x40cdcc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cdba
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4fc7e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4fd668]
call fcn.00405d2c
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