joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403940
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
push edi
call fcn.004206d0
cmp dword [esp + 0x424], 1
jl 0x403965
mov esi, dword [eax + 0xc]
add esi, 0xc
mov dword [esp + 0x14], esi
jmp 0x403971
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov ebp, dword [0x497170]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0
call dword [0x4971b8]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
push 0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0045b40f
add esp, 0x14
test esi, esi
je 0x4039d8
cmp byte [esi], 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
je 0x4039e8
push esi
lea eax, [esp + 0x24]
push str.a:_s_bin_s_s
push eax
call fcn.0045ac60
add esp, 0x14
jmp 0x4039fa
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x20]
push str.a:_bin_s_s
push eax
call fcn.0045ac60
add esp, 0x10
mov dword [esp + 0x10], 0
mov ecx, dword [0x49f1f8]
mov bl, byte [esp + 0x10]
lea edx, [esp + 0x31c]
mov dword [esp + 0x31c], ecx
add bl, 0x61
push edx
mov byte [esp + 0x320], bl
call dword [0x4971c0]
cmp eax, 5
jne 0x403a66
push 1
call ebp
mov edi, eax
lea eax, [esp + 0x18]
push 0x49f1f4
push eax
mov byte [esp + 0x20], bl
call fcn.0045aee9
mov esi, eax
add esp, 8
test esi, esi
je 0x403a5b
push esi
call fcn.0045ad02
add esp, 4
push edi
call ebp
test esi, esi
jne 0x403ad9
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1a
mov dword [esp + 0x10], eax
jl 0x403a02
call fcn.00443b80
call fcn.004475e0
call fcn.004473a0
push eax
call dword [0x497270]
push 5
call fcn.004473b0
push eax
push 0x49f1c8
call fcn.004473a0
push eax
call dword [0x497274]
cmp eax, 2
jne 0x403977
push 0
call fcn.004206f0
add esp, 4
call fcn.00420e70
call fcn.0040b090
call fcn.00427080
call fcn.00427710
push 0
call dword [0x49726c]
push 0
call fcn.0045bb45
push 0
call fcn.004206f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x409760
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push str._DEBUG:
push eax
call fcn.0045b895
xor esi, esi
add esp, 8
cmp eax, esi
je 0x409880
add eax, 7
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dl, byte [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0
call fcn.0045b3b6
add esp, 4
cmp eax, esi
mov dword [0x4ba78c], eax
je 0x409880
push 0x409890
call fcn.0045bf2c
push 0x4098b0
call fcn.00447480
add esp, 8
call fcn.004473a0
mov ecx, dword [0x4ba78c]
cmp ecx, esi
mov ebx, dword [0x4973b4]
je 0x4097f6
push esi
push eax
push 0xa000
push ecx
call ebx
push esi
push esi
push 0xa005
mov dword [0x4ba790], esi
call fcn.004473a0
push eax
call ebx
mov eax, dword [0x4ba78c]
cmp eax, esi
je 0x40981e
push esi
push esi
push 0xa002
push eax
call ebx
cmp dword [0x4ba790], esi
jne 0x40986f
mov edi, dword [0x497134]
mov ebp, dword [0x497274]
call fcn.00447550
test eax, eax
jne 0x409866
push 1
call edi
mov ecx, esi
inc esi
cmp ecx, 0x2710
jl 0x409866
push 0x14
call fcn.004473b0
push eax
push 0x49fa90
call fcn.004473a0
push eax
call ebp
cmp eax, 6
jne 0x409888
xor esi, esi
mov eax, dword [0x4ba790]
test eax, eax
je 0x409832
push 0
push 0
push 0xa00d
call fcn.004473a0
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.0045bb45
nop
mov eax, dword [0x4ba78c]
test eax, eax
je 0x4098a9
push 0
push 0
push 0xa001
push eax
call dword [0x4973b4]
ret
Function at 0x420dc0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx]
inc ecx
push esi
mov esi, ecx
cmp esi, 0x100
mov dword [edx], ecx
jl 0x420de8
push 0x4a11f0
call fcn.00447600
add esp, 4
push 0xffffffffffffffff
call fcn.0045bb45
xor eax, eax
push edi
lea edi, [esi + esi*8]
lea esi, [esi + edi*2]
mov ecx, 0x13
lea edi, [edx + esi*4 + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x1c]
mov dword [edx + eax*4 + 0x30], ecx
lea eax, [edx + eax*4]
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 + 0x30]
lea eax, [edx + eax*4]
mov dword [eax + 0x2c], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x24]
lea eax, [edx + eax*4]
mov dword [eax + 0x28], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x14]
lea eax, [edx + eax*4]
mov dword [eax + 0x38], ecx
cmp edx, dword [0x5a97e8]
pop edi
jne 0x420e60
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [edx + eax*4 + 0x28]
mov dword [0x5a97e4], ecx
pop esi
ret
Function at 0x447550
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [0x497354]
push 1
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
je 0x4475a4
mov ebx, dword [0x497350]
mov ebp, dword [0x49734c]
cmp dword [esp + 0x14], 0x12
je 0x4475ae
lea ecx, [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
call ebp
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
inc esi
call edi
test eax, eax
jne 0x44757b
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045bb45
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x447600
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x447617
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0045ac60
mov eax, dword [0x594e50]
add esp, 0x18
test eax, eax
pop esi
je 0x44765a
call eax
call fcn.004473a0
push eax
call dword [0x497270]
lea eax, [esp + 0x10]
push eax
call fcn.00455ef0
add esp, 4
push 0x40015
call fcn.004473b0
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004473a0
push eax
call dword [0x497274]
cmp eax, 2
jne 0x4476a6
mov eax, dword [0x594e54]
test eax, eax
je 0x44769f
call eax
push 0xffffffffffffffff
call fcn.0045bb45
add esp, 0x410
ret

Function at 0x4476b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x4476c7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0045ac60
mov eax, dword [0x594e50]
add esp, 0x18
test eax, eax
pop esi
je 0x44770a
call eax
call fcn.004473a0
push eax
call dword [0x497270]
lea eax, [esp + 0x10]
push eax
call fcn.00455ef0
add esp, 4
push 0x40010
call fcn.004473b0
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004473a0
push eax
call dword [0x497274]
cmp eax, 2
jne 0x447756
mov eax, dword [0x594e54]
test eax, eax
je 0x44774f
call eax
push 0xffffffffffffffff
call fcn.0045bb45
add esp, 0x410
ret
Function at 0x447760
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x447777
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0045ac60
mov eax, dword [0x594e4c]
add esp, 0x18
test eax, eax
pop esi
je 0x4477ba
call eax
call fcn.004473a0
push eax
call dword [0x497270]
lea eax, [esp + 0x10]
push eax
call fcn.00455ef0
add esp, 4
push 0x40030
call fcn.004473b0
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004473a0
push eax
call dword [0x497274]
cmp eax, 2
jne 0x447806
mov eax, dword [0x594e54]
test eax, eax
je 0x4477ff
call eax
push 0xffffffffffffffff
call fcn.0045bb45
add esp, 0x410
ret
Function at 0x44dec0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [0x5a6098]
or eax, 0xffffffff
test ecx, ecx
jne 0x44df22
push ebx
xor edi, edi
mov esi, 0x5a5498
mov edx, edi
mov ebx, 8
test dl, 1
je 0x44df00
shr edx, 1
xor edx, 0xedb88320
jmp 0x44df02
shr edx, 1
dec ebx
jne 0x44def1
mov dword [esi], edx
add esi, 4
inc edi
cmp esi, 0x5a5898
jl 0x44deea
mov esi, dword [esp + 0x14]
mov dword [0x5a6098], 1
pop ebx
xor edx, edx
test ebp, ebp
jle 0x44df48
xor ecx, ecx
mov cl, byte [edx + esi]
mov edi, eax
and edi, 0xff
shr eax, 8
xor ecx, edi
mov ecx, dword [ecx*4 + 0x5a5498]
xor eax, ecx
inc edx
cmp edx, ebp
jl 0x44df28
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x44df50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
or ebx, 0xffffffff
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, ebx
repne scasb al, byte es:[edi]
mov eax, dword [0x5a609c]
not ecx
dec ecx
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
jne 0x44dfcc
push ebp
xor ebp, ebp
mov edi, 0x5a5898
mov eax, ebp
cdq
mov dword [esp + 0x10], 8
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
je 0x44dfa0
xor eax, 0x53d46d27
xor edx, 0x85e1c3d7
mov ecx, 1
call fcn.0045ce00
dec dword [esp + 0x10]
jne 0x44df8a
mov dword [edi], eax
mov dword [edi + 4], edx
add edi, 8
inc ebp
cmp edi, 0x5a6098
jl 0x44df7f
mov dword [0x5a609c], 1
pop ebp
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x44e01a
mov ecx, dword [esp + 0x20]
xor eax, eax
mov al, byte [esi + ecx]
mov edx, ebx
and edx, 0xff
mov ecx, 8
mov edi, eax
xor edi, edx
mov edx, dword [esp + 0x18]
mov eax, ebx
call fcn.0045ce00
mov ebx, dword [edi*8 + 0x5a5898]
xor ebx, eax
mov eax, dword [edi*8 + 0x5a589c]
xor eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x44dfd6
mov edx, dword [esp + 0x18]
pop edi
mov eax, ebx
pop esi
not eax
not edx
pop ebx
add esp, 0x10
ret

Function at 0x44e030
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [0x5a6098]
test eax, eax
push esi
jne 0x44e072
xor edx, edx
mov ecx, 0x5a5498
mov eax, edx
mov esi, 8
test al, 1
je 0x44e055
shr eax, 1
xor eax, 0xedb88320
jmp 0x44e057
shr eax, 1
dec esi
jne 0x44e048
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x5a5898
jl 0x44e041
mov dword [0x5a6098], 1
mov esi, dword [esp + 0xc]
cmp esi, 0x400
mov eax, dword [esp + 8]
jb 0x44e0ac
mov edx, esi
shr edx, 0xa
mov ecx, edx
neg ecx
shl ecx, 0xa
push edi
add esi, ecx
mov ecx, 0x5a5498
mov edi, dword [ecx]
xor dword [eax], edi
add ecx, 4
add eax, 4
cmp ecx, 0x5a5898
jb 0x44e096
dec edx
jne 0x44e091
pop edi
test esi, esi
jle 0x44e0c0
mov ecx, 0x5a5498
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x44e0b7
pop esi
ret
Function at 0x44e0d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, esi
repne scasb al, byte es:[edi]
mov eax, dword [0x5a6098]
not ecx
dec ecx
or edx, 0xffffffff
test eax, eax
mov ebp, ecx
jne 0x44e12f
push ebx
xor edi, edi
mov esi, 0x5a5498
mov eax, edi
mov ebx, 8
test al, 1
je 0x44e10d
shr eax, 1
xor eax, 0xedb88320
jmp 0x44e10f
shr eax, 1
dec ebx
jne 0x44e100
mov dword [esi], eax
add esi, 4
inc edi
cmp esi, 0x5a5898
jl 0x44e0f9
mov esi, dword [esp + 0x14]
mov dword [0x5a6098], 1
pop ebx
xor eax, eax
test ebp, ebp
jle 0x44e155
xor ecx, ecx
mov cl, byte [eax + esi]
mov edi, edx
and edi, 0xff
shr edx, 8
xor ecx, edi
mov ecx, dword [ecx*4 + 0x5a5498]
xor edx, ecx
inc eax
cmp eax, ebp
jl 0x44e135
not edx
mov esi, edx
mov ecx, esi
and ecx, 0xff
xor edx, edx
mov eax, 0x5a5098
lea edi, [edx + ecx]
and edi, 0x800000ff
jns 0x44e17b
dec edi
or edi, 0xffffff00
inc edi
mov edi, dword [edi*4 + 0x5a5498]
xor edi, esi
mov dword [eax], edi
add eax, 4
inc edx
cmp eax, 0x5a5498
jl 0x44e168
pop edi
pop esi
pop ebp
ret

Function at 0x44e1a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x400
jb 0x44e1db
mov edx, esi
shr edx, 0xa
mov ecx, edx
neg ecx
shl ecx, 0xa
push edi
add esi, ecx
mov ecx, 0x5a5098
mov edi, dword [ecx]
xor dword [eax], edi
add ecx, 4
add eax, 4
cmp ecx, 0x5a5498
jb 0x44e1c5
dec edx
jne 0x44e1c0
pop edi
test esi, esi
jle 0x44e1ef
mov ecx, 0x5a5098
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x44e1e6
pop esi
ret
Function at 0x4563a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.InitDDS
call fcn.0043de50
mov eax, dword [0x5a6a50]
xor edi, edi
add esp, 4
cmp eax, edi
jne 0x45640b
push 0x456500
call fcn.0045bf2c
add esp, 4
push 0x5a6a28
call dword [0x4971e4]
lea eax, [esp + 8]
push eax
push edi
push edi
push 0x456660
push edi
push edi
call fcn.0045d3b4
add esp, 0x18
mov esi, eax
push 1
push esi
call dword [0x497218]
push esi
call dword [0x497140]
mov dword [0x5a6a44], edi
mov dword [0x5a6a50], 1
push ebx
mov ebx, dword [0x4971e0]
push 0x5a6a28
call ebx
mov eax, dword [0x5a6a44]
cmp eax, edi
je 0x4564b5
push ebp
mov ebp, dword [eax + 0x6a8]
mov edi, dword [eax + 0x620]
push 0x5a6a28
call ebx
test edi, edi
je 0x45648a
push 0x5a6a28
call ebx
mov esi, dword [0x5a6a44]
test esi, esi
je 0x456461
cmp dword [esi + 0x620], edi
je 0x456479
mov esi, dword [esi + 0x6a8]
test esi, esi
jne 0x45644f
push 0x5a6a28
call dword [0x4971dc]
push 0x5a6a28
call dword [0x4971dc]
jmp 0x4564a8
mov edi, dword [0x4971dc]
push 0x5a6a28
call edi
test esi, esi
jne 0x456497
push 0x5a6a28
call dword [0x4971dc]
jmp 0x4564a8
push 0x5a6a28
mov dword [esi + 0x650], 0
call edi
test ebp, ebp
mov eax, ebp
jne 0x456427
xor edi, edi
pop ebp
push 0x5a6a28
call dword [0x4971dc]
cmp dword [0x5a6a44], edi
pop ebx
je 0x4564db
mov esi, dword [0x497134]
push 0x32
call esi
cmp dword [0x5a6a44], edi
jne 0x4564cf
push str.EndDDS
mov dword [0x5a6a48], edi
mov dword [0x5a6a4c], edi
call fcn.0043de50
add esp, 4
pop edi
pop esi
pop ecx
ret
Function at 0x466a30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x466a60
push esi
call fcn.00469d10
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x466a59
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x466ae3
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x466acf
mov eax, dword [esi + 8]
test eax, eax
je 0x466a84
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x466acb
cmp eax, 2
je 0x466acf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x466a77
cmp eax, 3
je 0x466aaa
cmp eax, 1
jne 0x466a77
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x466a77
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x466a77
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00466b10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x466b03
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00466b10
add esp, 4
pop esi
ret

Function at 0x4678d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x46798a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x46798a
cmp byte [eax + 1], 0x64
jne 0x46798a
cmp byte [eax + 2], 0x6f
jne 0x46798a
cmp byte [eax + 3], 0x62
jne 0x46798a
cmp byte [eax + 4], 0x65
jne 0x46798a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x401420
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401432
mov eax, dword [0x4c608b]
shl eax, 2
mov dword [0x4c608f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004a5d24
pop edx
call fcn.004a5c88
call fcn.004a5d64
push 0
call fcn.004a7268
pop ecx
push 0x4c6034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4c6093], eax
push 0
jmp fcn.004ad918

Function at 0x42071c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x4ce9e0
call fcn.004a65c8
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.004a5b98
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x420791
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x420791
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004a5bb8
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x420791
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x4207ae
cmp dword [ebp - 0x34], 0
je 0x4207ae
mov edx, dword [ebp - 0x34]
jmp 0x4207b3
mov edx, 0x4ce654
lea eax, [ebp - 4]
call fcn.004b175c
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.004a5ba8
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004b18ec
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b18bc
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x420831
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433ec4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x8297f0
cmp dword [edi], 0
jne 0x433f40
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x8297ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cf6a0
mov ecx, 2
call fcn.004461cc
mov edx, 0x433e9c
lea eax, [esi + 5]
call fcn.00433ebc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00433ebc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x433f15
mov dword [0x8297ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x435388
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00435074
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00447e84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x4353e6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d49e0]
mov dl, 1
mov eax, dword [0x434f6c]
call fcn.00439b24
call fcn.00447634
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4353f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00447e84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x435448
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d49dc]
mov dl, 1
mov eax, dword [0x434f6c]
call fcn.00439b24
call fcn.00447634
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004350a4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439280
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4392b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00447ac4
jmp 0x4392c2
mov eax, ebx
mov edx, esi
call fcn.00447a28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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