joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403439
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00402f09
mov esi, eax
test esi, esi
je 0x4034f5
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00402fc9
mov ebp, eax
test ebp, ebp
je 0x4034f4
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00402fc9
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x4034f4
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x4034f4
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4034f3
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x4034d9
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x40fc61
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40fc71
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x40fd7f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0040fd8f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x40fd7f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0040fd8f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x40fd7f
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0040fd8f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40fd7f
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40fd7c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0040fda2
test eax, eax
je 0x40fd6b
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0040fdd6
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40fd26
add esp, 0xc
mov eax, 0
jmp 0x40fd89
mov esp, ebp
pop ebp
ret 8
Function at 0x40ff07
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40ffbb
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040fe97
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40ff94
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ffc7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40ffe2
test ebp, ebp
je 0x40ffe2
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40ffea
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x41002a
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x410086
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x410081
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41006c
test dl, dl
je 0x410068
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41006c
add ecx, 2
add eax, 2
test dl, dl
jne 0x41004c
xor eax, eax
jmp 0x410071
sbb eax, eax
or eax, 1
test eax, eax
je 0x410090
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x410039
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4100a7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0040ff07
mov esi, eax
test esi, esi
je 0x410163
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0040ffc7
mov ebp, eax
test ebp, ebp
je 0x410162
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0040ffc7
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x410162
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x410162
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x410161
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x410147
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4135c7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0
push 0x4655ea
push 0x4655ea
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x4655ea
push dword [ebp + 8]
mov eax, 0x20
call sub.shell32.dll_ShellExecuteA
cmp dword [ebp - 4], esp
je 0x413615
push 0
push 0x4012fd3
push 6
call fcn.0042af28
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x413d5a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00413f0a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x413e58
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x413dfb
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x413e3e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x413e12
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x413e2d
test al, 0x40
je 0x413e24
mov ecx, dword [edi + 0x20]
jmp 0x413e2b
test al, 0x80
je 0x413e3e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x413e3e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x413dca
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x414202
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00446b70
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.00414281
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
mov eax, 0x21
call sub.Kernel32.dll_CreateThread
cmp dword [ebp - 0xc], esp
je 0x414276
push 0x60
push 0x405097b
push 6
call fcn.0042af28
add esp, 0xc
jmp 0x41427b
mov esp, ebp
pop ebp
ret 0x14

Function at 0x414eb9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push reloc.WSOCK32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x414f01
mov eax, 0x62a1f0
push eax
push 1
mov ebx, 0x194
call fcn.00446a20
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x414f26
jmp 0x4150ae
push dword [ebp + 8]
call fcn.00401a35
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x62a216]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00401809
push eax
push 0x40
mov eax, 0x25
call sub.Kernel32.dll_LocalAlloc
cmp dword [ebp - 0x2c], esp
je 0x414f7a
push 0x129
push 0x405147b
push 6
call fcn.0042af28
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x62a216]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401809
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41507f
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401809
push eax
call fcn.00401c15
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x41501d
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
mov eax, 0x26
call sub.Kernel32.dll_CreateDirectoryW
cmp dword [ebp - 0x1c], esp
je 0x415013
push 0x222
push 0x405147b
push 6
call fcn.0042af28
add esp, 0xc
jmp 0x41507f
cmp word [ebp - 0x14], 0x5c
jne 0x415066
cmp dword [ebp - 0x18], 0
jle 0x415063
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
mov eax, 0x26
call sub.Kernel32.dll_CreateDirectoryW
cmp dword [ebp - 0x1c], esp
je 0x415063
push 0x2c3
push 0x405147b
push 6
call fcn.0042af28
add esp, 0xc
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.004150b4
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x414fa3
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, 0x27
call sub.Kernel32.dll_LocalFree
cmp dword [ebp - 0x1c], esp
je 0x4150ae
push 0x374
push 0x405147b
push 6
call fcn.0042af28
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x42b760
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42b798
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA_1]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x42c0e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x42c129
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x42c5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0042c150
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0042c1d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0042c1d0
lea ecx, [esi + 0xc]
call fcn.0044da02
lea ecx, [esi + 0x10]
call fcn.0044da02
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0042d770
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0042d770
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0042d770
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0044da77
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044da77
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42d9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x42da26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x42da26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x42da07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x42e060
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
push edi
call fcn.0042de80
mov edi, eax
call fcn.0042ec10
push 6
push 1
push 2
mov dword [edi + 8], eax
call sub.WSOCK32.dll_socket
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor eax, eax
mov dword [edi], esi
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
call sub.WSOCK32.dll_htons
lea edx, [esp + 8]
push 0x10
push edx
push esi
mov word [esp + 0x16], ax
call sub.WSOCK32.dll_bind
test eax, eax
jge 0x42e0ce
push esi
call sub.WSOCK32.dll_closesocket
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
push 1
push esi
call sub.WSOCK32.dll_listen
test eax, eax
jge 0x42e0e8
push esi
call sub.WSOCK32.dll_closesocket
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42fc10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp + 8]
push edi
push eax
push 0x45dd60
push 1
push 0
push 0x45a7d8
mov dword [ebx], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42fd1f
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x45dd70
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x42fd16
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42fc8d
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [ebp + 0xc], 5
jne 0x42fcbb
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42fca7
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x42fcbb
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esi]
lea edx, [ebp - 0x108]
push edx
push eax
call fcn.0042fd30
mov edi, eax
add esp, 8
test edi, edi
je 0x42fcf7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0043be20
mov eax, esp
push esi
push edi
push eax
call fcn.0042ffc0
add esp, 0xc
mov ecx, dword [ebp - 4]
push 1
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
jl 0x42fd0d
mov dword [ebx], 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea esp, [ebp - 0x114]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fda0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x110]
push esi
mov esi, dword [esp + 0x10c]
mov byte [esp + 4], 0
mov dword [esi], 0
mov eax, dword [eax]
cmp eax, 1
jl 0x42fe3b
cmp eax, 8
jg 0x42fe3b
cmp eax, 1
jne 0x42fdd8
mov eax, 5
jmp 0x42fe21
cmp eax, 2
jne 0x42fde4
mov eax, 6
jmp 0x42fe21
cmp eax, 3
jne 0x42fdf0
mov eax, 0x10
jmp 0x42fe21
cmp eax, 4
jne 0x42fdfc
mov eax, 0x14
jmp 0x42fe21
cmp eax, 5
jne 0x42fe08
mov eax, 0xb
jmp 0x42fe21
cmp eax, 6
jne 0x42fe14
mov eax, 2
jmp 0x42fe21
sub eax, 7
neg eax
sbb eax, eax
and eax, 0x13
add eax, 7
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x42febe
jmp 0x42fe8a
cmp eax, 9
jne 0x42fe52
lea edx, [esp + 4]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x42fe7e
cmp eax, 0xa
jne 0x42fe69
lea edx, [esp + 4]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x42fe7e
cmp eax, 0xb
jne 0x42febe
lea edx, [esp + 4]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
test eax, eax
je 0x42febe
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test ecx, ecx
jle 0x42feaf
cmp byte [esp + ecx + 3], 0x5c
je 0x42feaf
mov byte [esp + ecx + 4], 0x5c
mov byte [esp + ecx + 5], 0
lea edx, [esp + 4]
push edx
call fcn.0042fbc0
add esp, 4
mov dword [esi], eax
pop esi
add esp, 0x104
ret

Function at 0x430030
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp edi, 1
jle 0x43004b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43004b
mov eax, dword [esi + 0xc]
jmp 0x43004d
xor eax, eax
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread_1]
mov edx, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
setne cl
cmp edi, 3
mov dword [edx], ecx
jl 0x430083
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x430083
mov ecx, dword [esi + 0x18]
pop edi
pop esi
mov dword [ecx], eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
pop edi
pop esi
ret
Function at 0x4461e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x446272
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x446264
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x44625c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x446225
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x446280
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4462e9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00448190
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x446d10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x446d51.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x446d51.2
jmp dword [eax*4 + 0x446ddc]
mov word [esp + 0x48], di
jmp 0x446d8a
mov word [esp + 0x48], 2
jmp 0x446d8a
mov word [esp + 0x48], 3
jmp 0x446d8a
mov word [esp + 0x48], 4
jmp 0x446d8a
mov word [esp + 0x48], 7
jmp 0x446d8a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA_1]
mov esi, eax
cmp esi, edi
je 0x446dd4
cmp dword [esp + 0x70], edi
je 0x446dc0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject_1]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle_1]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x447560
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.0044d7b8
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x4475ca
push esi
lea edi, [eax + 0x400]
call fcn.0044d7e1
push edi
call fcn.0044d7b8
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x44759a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4475e6
push ecx
push esi
call fcn.00448b60
add esp, 8
mov ebx, eax
push esi
call fcn.0044d7e1
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4479a0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4479ca
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4479ca
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
ret