joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f70
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [0x45b1d0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x433f9f
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x433fb3
push eax
push 0
push 0
push esi
call dword [0x45b29c]
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x433fd1
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [0x45b1dc]
mov edx, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], edx
push esi
call dword [0x45b32c]
pop edi
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4344b0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1004
call fcn.00438b40
mov ecx, dword [esp + 0x1008]
lea eax, [esp + 0x100c]
push esi
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.00439007
mov esi, dword [0x45b308]
add esp, 0xc
lea eax, [esp + 8]
push 0x469148
push eax
call esi
push 0
lea ecx, [esp + 8]
push 0
push ecx
push 0x400
call dword [0x45b324]
push eax
push 0
push 0x1100
call dword [0x45b28c]
test eax, eax
jne 0x434518
pop esi
add esp, 0x1004
ret
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push edx
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call dword [0x45b288]
lea edx, [esp + 8]
push edx
call dword [0x45b2c4]
mov eax, 1
pop esi
add esp, 0x1004
ret

Function at 0x4348a0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.00438b40
mov ecx, dword [esp + 0x1004]
lea eax, [esp + 0x1008]
push eax
lea edx, [esp + 4]
push ecx
push edx
call fcn.00439007
add esp, 0xc
lea eax, [esp]
push eax
call dword [0x45b2c4]
add esp, 0x1000
ret

Function at 0x434920
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [0x45b518]
push 0
push eax
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 8], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push esi
call dword [0x45b430]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [0x45b55c]
pop edi
pop esi
add esp, 0x18
ret

Function at 0x4349a0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push edi
push eax
call dword [0x45b558]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push esi
call dword [0x45b510]
mov edx, dword [esp + 0x28]
mov edi, dword [0x45b518]
push 0
push edx
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
pop edi
pop esi
test eax, eax
jne 0x4349ed
add esp, 0x18
ret
mov edx, dword [esp + 4]
mov eax, dword [esp]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [0x45b540]
add esp, 0x18
ret
Function at 0x434c40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10c]
push eax
push 0x104
mov byte [esi], 0
call dword [0x45b274]
test eax, eax
jne 0x434c6d
pop esi
add esp, 0x104
ret
mov ecx, dword [esp + 0x110]
push esi
push 0
lea edx, [esp + 0xc]
push ecx
push edx
call dword [0x45b2e4]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret

Function at 0x434f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [0x45b01c]
cmp eax, 0xea
je 0x434fbb
mov esi, dword [esi + 4]
test esi, esi
je 0x434fb4
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [0x45b01c]
cmp eax, 0xea
jne 0x434fc1
test edi, edi
jne 0x434fc1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x435080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [0x45b01c]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push edi
push eax
mov dword [esp + 0x24], 4
call ebx
cmp eax, 0xea
je 0x4350db
mov esi, dword [esi + 4]
test esi, esi
je 0x4350d4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push edi
push esi
call ebx
cmp eax, 0xea
jne 0x4350f0
lea ecx, [esp + 0x18]
test ecx, ecx
jne 0x4350f4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
test eax, eax
je 0x4350e3
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x435110
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x45b014]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x43513d
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push 0
push ebx
push eax
call ebp
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x435150
test esi, esi
jne 0x435159
push ebx
push eax
call dword [0x45b00c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
lea edx, [esp + 0x18]
push 4
push edx
push 4
push 0
push ebx
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x435170
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x43519e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push 3
push 0
push ebx
push eax
call dword [0x45b014]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x4351b1
test esi, esi
jne 0x4351ba
push ebx
push edi
call dword [0x45b00c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [esp + 0x18]
push ebp
push edx
push 3
push 0
push ebx
push edi
call dword [0x45b014]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4351e0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0xc]
xor ecx, ecx
push esi
mov word [ebx], cx
mov word [ebx + 2], cx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov ax, word [ebp + 2]
cmp ax, cx
jbe 0x43526c
cmp ax, 0xc
ja 0x43526c
mov ax, word [ebp]
xor edx, edx
mov word [ebx], ax
mov cx, word [ebp + 2]
mov word [ebx + 2], cx
mov eax, dword [ebp + 4]
mov dx, cx
mov dword [ebx + 4], eax
mov esi, dword [edx*4 + 0x45da48]
imul esi, eax
cmp esi, 4
ja 0x435241
mov eax, dword [ebp + 8]
pop esi
mov dword [ebx + 8], eax
mov eax, ebx
pop ebp
pop ebx
ret 4
push edi
push esi
call fcn.00447e47
mov ecx, esi
mov dword [ebx + 8], eax
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.Invalid_meta_data_item_typeID_n
call dword [0x45b2c4]
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4

Function at 0x435c70
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0xc]
push eax
call dword [0x45b514]
mov ecx, dword [esi + 8]
push 1
push ecx
call dword [0x45b50c]
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [0x45b47c]
pop esi
ret
Function at 0x4361d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [0x45b518]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x1c]
push 0x418
push eax
call ebx
mov ecx, esi
mov edi, eax
call fcn.00436090
add eax, edi
lea edi, [eax*4]
push edi
call fcn.00447e47
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x1c]
push 0x418
push eax
mov dword [esp + 0x24], ebp
call ebx
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x43625b
push edi
mov ecx, esi
call fcn.00450ff5
and eax, 0xffff
add ebp, 4
or eax, 0x10000
inc edi
mov dword [ebp - 4], eax
cmp edi, ebx
jl 0x43623a
mov ebp, dword [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.00436090
test eax, eax
jle 0x4362c3
lea ecx, [ebp + edi*4]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0xbc]
mov ecx, esi
mov eax, dword [edx + ebx + 4]
push eax
call fcn.00450fdf
cmp eax, 0xffffffff
jne 0x4362aa
mov ecx, dword [esi + 0xbc]
mov eax, dword [esp + 0x14]
xor edx, edx
inc edi
mov dx, word [ecx + ebx + 4]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, esi
inc eax
add ebx, 0x64
mov dword [esp + 0x10], eax
call fcn.00436090
cmp dword [esp + 0x10], eax
jl 0x436278
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
push 0x80000001
call dword [section..rdata]
test eax, eax
jne 0x436303
mov ecx, dword [esp + 0x18]
lea edx, [edi*4]
push edx
push ebp
push 3
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [0x45b014]
mov edx, dword [esp + 0x18]
push edx
call dword [0x45b008]
push ebp
call fcn.00447e70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x437b3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [0x45b2e0]
cmp eax, 0xffffffff
jne 0x437b5c
call dword [0x45b324]
push eax
call fcn.0043a901
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x437b7f
test byte [esp + 8], 2
je 0x437b7f
call fcn.0043a974
mov dword [eax], 0xd
call fcn.0043a97d
mov dword [eax], 5
jmp 0x437b58
xor eax, eax
ret

Function at 0x43eade
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x46cef0
cmp edx, dword [eax]
je 0x43eb00
add eax, 8
inc ecx
cmp eax, 0x46cf80
jl 0x43eaf1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x46cef0]
jne 0x43ec2e
mov eax, dword [0x46ff64]
cmp eax, 1
je 0x43ec08
test eax, eax
jne 0x43eb31
cmp dword [0x46a710], 1
je 0x43ec08
cmp edx, 0xfc
je 0x43ec2e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [0x45b1e8]
test eax, eax
jne 0x43eb68
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043f970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0043a240
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43ebab
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043a240
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x460754
push edi
call fcn.00437fd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043f970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043f980
lea eax, [ebp - 0xa0]
push 0x460734
push eax
call fcn.0043f980
push dword [esi + 0x46cef4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043f980
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0044208f
add esp, 0x2c
pop edi
jmp 0x43ec2e
lea eax, [ebp + 8]
lea esi, [esi + 0x46cef4]
push 0
push eax
push dword [esi]
call fcn.0043a240
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x45b198]
push eax
call dword [0x45b1f8]
pop esi
leave
ret
Function at 0x446150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x45b0a8]
mov edi, dword [ebp + 8]
push edi
call dword [0x45b374]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00438b40
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44621b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x45b424]
test eax, eax
je 0x44621b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4461ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4461d9
or bh, 8
and edi, 0x8000000
je 0x4461f4
mov eax, dword [0x47173c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x45b0cc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x45b3dc]
test edi, edi
je 0x44621b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x45b0cc]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4465f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [0x45b1c0]
mov edi, eax
test edi, edi
jne 0x44661b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [0x45b1cc]
mov ebx, eax
push edi
push esi
call dword [0x45b1c4]
mov esi, eax
test esi, esi
jne 0x44663f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [0x45b2ec]
mov ebp, eax
test ebp, ebp
jne 0x44665a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [0x45b54c]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [0x45b12c]
mov esi, eax
push edi
push 0
call dword [0x45b554]
push ebp
call dword [0x45b2dc]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x44a71e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x44a760
call fcn.004561ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [0x45b1c0]
cmp eax, edi
je 0x44a760
push eax
push esi
call dword [0x45b1c4]
cmp eax, edi
jne 0x44a757
xor eax, eax
jmp 0x44a768
push eax
call dword [0x45b1c8]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044a76e
pop edi
pop esi
pop ebx
ret 4
Function at 0x401b10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444ca1
push eax
mov dword fs:[0], esp
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebx + 0x300]
push edi
xor edi, edi
cmp ecx, edi
je 0x401b83
mov eax, dword [esp + 0x34]
cmp al, 0xcd
je 0x401b46
cmp al, 0xcc
jne 0x401c2e
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.0041a8d0
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x1c
mov eax, dword [ebx + 0x304]
cmp eax, edi
je 0x401c2e
cmp byte [esp + 0x34], 0xcc
jne 0x401c2e
add eax, 0x2169
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401c2e
mov ecx, dword [ebx + 0x304]
mov eax, dword [ecx + 0x2178]
cmp dword [esp + 0x24], eax
jne 0x401c2e
push 0x10
call fcn.004394a2
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
je 0x401bea
lea edx, [esi + 0xa]
push edx
mov ecx, eax
call fcn.004246e0
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
sub esi, eax
lea edx, [ecx + eax + 1]
push esi
push edx
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00424750
mov ecx, dword [ebx + 0x304]
push edi
call fcn.00424a50
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x1c
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x4027a0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
sub esp, 0x598
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
xor esi, esi
mov ecx, 0x11
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [esp + 0x18]
push 0x44d33c
push eax
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 1
mov word [esp + 0x84], 0xa
mov dword [ebp + 0x275a], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push 0x4668f8
push 0x104
lea ecx, [esp + 0x94]
push ecx
push 0x44d344
lea edx, [esp + 0x24]
push edx
push 0x44d348
call ebx
cmp byte [esp + 0x8c], 0x30
je 0x402930
lea eax, [ebp + 0x1ada]
mov dword [esp + 0x10], eax
jmp 0x402840
lea ecx, [esp + 0x190]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.00436e10
push esi
lea eax, [esp + 0x20]
push 0x44d350
push eax
call edi
add esp, 0x14
push 0x4668f8
push 0x104
lea ecx, [esp + 0x29c]
push ecx
push 0x44d358
lea edx, [esp + 0x24]
push edx
push 0x44d35c
call ebx
lea eax, [esp + 0x294]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x3a0]
push 0x44d364
push edx
call edi
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x198]
push edx
push 0
push 0x20
push 1
push 0
push 0
lea eax, [esp + 0x3b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp + 0x275a]
mov edx, dword [esp + 0x10]
inc ecx
inc esi
push esi
mov dword [ebp + 0x275a], ecx
lea ecx, [esp + 0x18]
add edx, 0x10
push 0x44d33c
push ecx
mov dword [esp + 0x1c], edx
call edi
add esp, 0xc
push 0x4668f8
push 0x104
lea edx, [esp + 0x94]
push edx
push 0x44d344
lea eax, [esp + 0x24]
push eax
push 0x44d348
call ebx
cmp byte [esp + 0x8c], 0x30
jne 0x402840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x598
ret

Function at 0x402940
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x275a]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebx + 0x1ad6], esi
jle 0x40297b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
lea edi, [ebx + 0x1ada]
mov eax, dword [edi]
push 0
push eax
call ebp
mov eax, dword [ebx + 0x275a]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x402964
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x406700
Capabilities:
Create process on windows
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444da6
push eax
mov eax, dword [0x467aa8]
mov dword fs:[0], esp
sub esp, 0x174
test eax, eax
push esi
mov esi, ecx
je 0x406731
movzx eax, word [esp + 0x188]
jmp 0x40673d
mov eax, dword [esp + 0x188]
and eax, 0xfff0
cmp eax, 0x1388
ja 0x4068af
je 0x406864
cmp eax, 0x200
ja 0x4067df
je 0x4067cb
sub eax, 0x10
je 0x4067af
sub eax, 0x70
je 0x406772
sub eax, 0x80
jne 0x4069b3
jmp 0x406792
mov eax, dword [esi + 0x32c]
push 0
push 0x412890
push eax
push 0x44ce1c
mov ecx, dword [0x467978]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, 1
mov ecx, dword [esp + 0x178]
pop esi
mov dword fs:[0], ecx
add esp, 0x180
ret 4
mov ecx, esi
call fcn.00404d30
mov edx, dword [esi + 0x32c]
push 0
push 0
push 2
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x406792
mov eax, dword [esi + 0x32c]
push esi
push 0x433460
push eax
push 0x44ce10
jmp 0x406785
cmp eax, 0x400
je 0x406847
cmp eax, 0x800
je 0x406810
cmp eax, 0x1000
jne 0x4069b3
mov edx, dword [esi + 0x32c]
push 0
push 3
push 0x466620
push edx
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x406792
mov eax, dword [esi + 0x32c]
mov ecx, dword [0x467978]
push esi
push 0x41b4b0
push eax
push 0x44ce24
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 0x3e8
je 0x406792
push eax
mov ecx, esi
call fcn.00402420
jmp 0x406792
mov edx, dword [esi + 0x32c]
mov eax, dword [0x467978]
push esi
push 0x4335c0
push edx
push 0x44ce04
push eax
jmp 0x40678c
push 0x4668f8
push 0x50
push 0x44cdb4
push 0x44cdbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0xa0]
push str.http:__127.0.0.1_:_d_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xa
push 0
push 0
push str.http:__127.0.0.1
push 0x44cdf4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x406792
cmp eax, 0x8000
ja 0x40699d
je 0x406991
cmp eax, 0x1389
je 0x406922
cmp eax, 0x2000
je 0x40690a
cmp eax, 0x4000
jne 0x4069b3
mov edx, dword [0x467978]
mov eax, dword [esi + 0x32c]
push edx
push eax
lea ecx, [esp + 0x108]
call fcn.00429ec0
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x180], 0
call dword [edx + 8]
jmp 0x406792
mov eax, dword [esi + 0x32c]
push 0
push 0x435800
push eax
push str.TCPDIAL
jmp 0x406785
mov eax, dword [esi + 0x328]
test eax, eax
jne 0x40694a
mov edx, dword [esi + 0x32c]
push 0x40
push 0x44ce30
push str.No_SoundCard_Modem_
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x406792
mov eax, dword [0x467978]
mov ecx, dword [esi + 0x32c]
push esi
push 0x800
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040e600
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x180], 1
call dword [edx + 8]
lea ecx, [esp + 4]
mov dword [esp + 0x180], 0xffffffff
call fcn.0040eae0
jmp 0x406792
mov ecx, esi
call fcn.004029e0
jmp 0x406792
cmp eax, 0xf030
je 0x406792
cmp eax, 0xf120
je 0x406792
xor eax, eax
jmp 0x406797