joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f4470
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004eb475
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4c3eb3
xor al, al
jmp 0x4c3fdf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4c3ed5
xor al, al
jmp 0x4c3fdf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4c3ee8
xor al, al
jmp 0x4c3fdf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4c3efc
xor al, al
jmp 0x4c3fdf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004df326
test eax, eax
jne 0x4c3f30
xor al, al
jmp 0x4c3fdf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x8bec0c
mov dword [esp + 0x20], ebp
call fcn.004eb475
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004e820f
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004e8266
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4c3fc4
mov ax, word [ebx]
test ax, ax
je 0x4c3fb6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004c4000
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4c3f9a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004e8266
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4c4540
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004e98fb
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4c4586
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004d0498
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x8e3414
push ecx
call fcn.004d1b82
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4c5890
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x8e3554]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4c58a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4c58e4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x8e35fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4c5916
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c591a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4c590b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4c5938
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c593c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4c592d
xor ecx, ecx
mov eax, 0x8e3564
xor ebx, ebx
mov bl, byte [ecx + 0x8e360c]
cmp byte [esp + ebx + 0x14], 0
je 0x4c5967
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x8e3624]
cmp byte [esp + ebx + 0x14], 0
je 0x4c597e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4c594e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4c58d7
lea edx, [esp + 0x84]
push edx
call fcn.004c59c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4e36fb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e3733
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e1776
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e174e
jmp 0x4e373f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e4ef6
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 0x4e4f38
call fcn.004eb475
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e4f38
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e4f2f
xor eax, eax
jmp 0x4e4f40
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e4f46
pop edi
pop esi
pop ebx
ret 4

Function at 0x4eb9a5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4eb9d3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4eb9f1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eb90b
jmp 0x4eb9f1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eb9f1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eb90b
test edi, edi
mov eax, edi
jne 0x4eb9db
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x485e70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call fcn.00436050
mov eax, dword [0x4ad97c]
mov dword [esi + 0x24], eax
mov ecx, dword [0x4ad97c]
mov dword [esi + 0x28], ecx
mov edx, dword [0x4ad97c]
mov dword [esi + 0x2c], edx
mov eax, dword [0x4ad97c]
mov dword [esi + 0x30], eax
mov ecx, dword [0x4ad97c]
lea edi, [esi + 0x34]
mov dword [edi], ecx
mov edx, dword [0x4ad97c]
mov dword [esi + 0x38], edx
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 7
call fcn.00463c3d
push 0x4b312c
mov ecx, edi
mov byte [esp + 0x1c], 8
mov dword [esi], 0x48e810
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.00464e3d
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d6d0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48646b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4ad97c]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
lea edi, [esi + 0x14]
xor ebx, ebx
push 0xa
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00463eae
lea ecx, [esi + 0x3b]
mov dword [edi], method.CObList.virtual_0
lea eax, [esi + 0x38]
mov dword [esi], 0x48e840
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x45], ebx
mov dword [esi + 0x49], ebx
xor edx, edx
mov word [ecx], bx
mov word [eax], dx
xor ecx, ecx
pop edi
mov byte [eax + 2], dl
lea edx, [esi + 0x30]
xor eax, eax
mov word [edx], cx
mov byte [edx + 2], cl
lea ecx, [esi + 0x33]
xor edx, edx
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x3d]
mov dword [esi + 0x3d], edx
mov dword [eax + 4], edx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4289a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov eax, dword [0x4ad97c]
mov dword [esp + 0x24], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push str.root_
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.00464e3d
push str.jydm
lea ecx, [esp + 0x30]
call fcn.0046224f
cmp eax, 0xffffffff
je 0x428ac8
mov eax, dword [esi + 0x611]
lea ecx, [esp + 8]
add eax, 4
push eax
call fcn.00464ded
lea ecx, [esp + 0x10]
push 3
push ecx
lea ecx, [esp + 0x10]
call fcn.00462139
mov eax, dword [eax]
push 0x4aa3e8
push eax
call fcn.0043fbe2
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.00464cb4
test bl, bl
je 0x428a76
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
add eax, 0xfffffffd
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004621b5
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.00464ded
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00464cb4
push str.jydm
lea ecx, [esp + 0x10]
call fcn.00465090
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00464a29
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 4
call fcn.00464a29
lea ecx, [esi + 4]
mov byte [esp + 0x30], 2
call fcn.00436c50
push str.root_
lea ecx, [esp + 0x10]
call fcn.00464e3d
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00464cb4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00464cb4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00464cb4
mov ecx, dword [esp + 0x1c]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x428d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488d92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x4ad97c]
lea ebp, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [ebp], eax
mov ecx, dword [0x4ad97c]
mov dword [esi + 8], ecx
mov edx, dword [0x4ad97c]
mov dword [esi + 0xc], edx
mov eax, dword [0x4ad97c]
mov dword [esi + 0x10], eax
mov ecx, dword [0x4ad97c]
mov dword [esi + 0x14], ecx
mov edx, dword [0x4ad97c]
mov dword [esi + 0x18], edx
mov eax, dword [0x4ad97c]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4ad97c]
mov dword [esi + 0x20], ecx
mov edx, dword [0x4ad97c]
mov dword [esi + 0x24], edx
mov eax, dword [0x4ad97c]
mov dword [esi + 0x28], eax
mov ecx, dword [0x4ad97c]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4ad97c]
lea ecx, [esi + 0x30]
mov dword [ecx], edx
mov eax, dword [0x4ad97c]
lea ebx, [esi + 0x34]
mov dword [ebx], eax
mov edx, dword [0x4ad97c]
mov dword [esi + 0x38], edx
push 0x4a9000
mov byte [esp + 0x20], 0xe
mov dword [esi], 0x48ec7c
call fcn.00464e3d
push str.TermStatus
call fcn.00440077
mov edi, eax
add esp, 4
test edi, edi
je 0x428e0d
push edi
call fcn.0042a830
push edi
call fcn.0044006c
push eax
push 0x4aace0
push ebx
call fcn.004625d5
add esp, 0x14
jmp 0x428e19
push 0x4a92d4
mov ecx, ebx
call fcn.00464e3d
push 0x4b312c
lea ecx, [esi + 0xc]
call fcn.00464e3d
push 0x4b312c
mov ecx, ebp
call fcn.00464e3d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x428e70
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x488e37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x48ec7c
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 0xd
call fcn.00464cb4
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xc
call fcn.00464cb4
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call fcn.00464cb4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call fcn.00464cb4
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call fcn.00464cb4
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call fcn.00464cb4
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call fcn.00464cb4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call fcn.00464cb4
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call fcn.00464cb4
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call fcn.00464cb4
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call fcn.00464cb4
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.00464cb4
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.00464cb4
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.00464cb4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42b060
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4892c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov ecx, dword [0x4ad97c]
xor eax, eax
xor ebx, ebx
mov word [esp + 8], ax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x3ff00000
xor esi, esi
mov byte [esp + 0xa], al
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x44], 1
call fcn.00464ded
lea ecx, [esp + 0xc]
call fcn.00462634
lea ecx, [esp + 0xc]
call fcn.004625e8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp eax, ebx
jle 0x42b0fa
push edi
push ebx
push ebx
lea eax, [esp + 0x14]
push ebx
push eax
push ecx
call fcn.0044175d
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x42b0fa
lea esi, [esp + 8]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
fld qword [esp + 0x20]
mov eax, 0x1f
dec eax
fadd st(0), st(0)
jne 0x42b139
fxch st(1)
fmul st(1)
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], bl
fadd st(0), st(0)
fadd st(2)
fstp qword [esp + 0x20]
fstp st(0)
fstp st(0)
call fcn.00464cb4
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.00464cb4
mov ecx, dword [esp + 0x38]
pop esi
fld qword [esp + 0x1c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x42b190
Capabilities:
Get common file path
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4892e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebp
push esi
push edi
mov esi, dword [esp + 0x138]
mov dword [esp + 0x124], 0
test esi, esi
jne 0x42b1cb
mov esi, 1
jmp 0x42b1d1
jle 0x42b2cf
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ecx
lea eax, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00464a29
call fcn.0042b060
fld qword [esp + 0x134]
fcomp st(1)
add esp, 4
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x42b2cf
xor ecx, ecx
lea edx, [esp + 0x18]
mov word [esp + 0xc], cx
xor eax, eax
mov byte [esp + 0xe], cl
mov ecx, 0x41
lea edi, [esp + 0x18]
push edx
rep stosd dword es:[edi], eax
push 0x104
call ebp
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x42b259
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
call fcn.0044175d
lea edx, [esp + 0x20]
push edx
call fcn.0042a830
add esp, 0x18
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x42b27e
push eax
push eax
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0044175d
add esp, 0x14
mov edx, dword [0x4ad97c]
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push 0x4abde8
push ecx
mov byte [esp + 0x130], 1
call fcn.004625d5
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push edx
call fcn.0047130a
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 0
call fcn.00464cb4
dec esi
test esi, esi
jg 0x42b1d7
test esi, esi
jne 0x42b302
push esi
push esi
push 0x4abdc0
call fcn.0047130a
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esp + 0x12c]
mov dword [esp + 0x124], 0xffffffff
call fcn.00464cb4
mov eax, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x11c
ret
Function at 0x42b970
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4893af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x168], 0
call fcn.0043757d
mov eax, dword [0x4ad97c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x170]
push 0
push ecx
mov byte [esp + 0x170], 2
call fcn.00441933
add esp, 8
cmp eax, 0xffffffff
jne 0x42ba0c
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 1
call fcn.00464cb4
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0
call fcn.004375ba
lea ecx, [esp + 0x170]
mov dword [esp + 0x168], 0xffffffff
call fcn.00464cb4
or eax, 0xffffffff
jmp 0x42bbb1
lea edx, [esp + 0x170]
push str..
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00464f49
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x170], 3
call fcn.00437640
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.00464cb4
lea ecx, [esp + 0x18]
push ecx
call fcn.00462c58
mov edx, dword [eax]
mov esi, dword [esp + 0x174]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x1c], edx
mov bl, 4
lea ecx, [esp + 0x24]
call fcn.00437860
mov edi, eax
mov eax, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
call dword [eax + 0x38]
test eax, eax
jne 0x42bb6e
lea ecx, [esp + 0x24]
call fcn.00437827
test eax, eax
jne 0x42bb6e
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00437a58
push eax
lea edx, [esp + 0x174]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x174], bl
call fcn.00464ee3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 5
call fcn.00464ded
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], bl
call fcn.00464cb4
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 2
call fcn.00464cb4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.004377d1
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [esp + 0x48], esp
lea ecx, [esp + 0x20]
mov dword [eax], edx
lea eax, [esp + 0x44]
push eax
call fcn.0042bbe0
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, esi
jl 0x42bb65
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.0046a63e
test eax, eax
je 0x42bb65
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x60], 0
call fcn.0046a7a3
mov eax, dword [esp + 0x10]
push eax
call ebp
test edi, edi
je 0x42bb76
jmp 0x42ba69
test edi, edi
jne 0x42ba69
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 1
call fcn.00464cb4
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0
call fcn.004375ba
lea ecx, [esp + 0x170]
mov dword [esp + 0x168], 0xffffffff
call fcn.00464cb4
xor eax, eax
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret
Function at 0x42be80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x160
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, ecx
push edi
xor eax, eax
push str.c:wsapcfg_netcfg.ini
lea ecx, [esp + 0x14]
push 0x28
mov dword [esp + 0x18], eax
push ecx
push str.000000
mov dword [esp + 0x24], eax
push str.PINPAKFLAG
push 0x4abf10
mov word [esp + 0x30], ax
call esi
test eax, eax
jne 0x42bec6
xor ebp, ebp
jmp 0x42bed5
lea edx, [esp + 0x10]
push edx
call fcn.0044006c
add esp, 4
mov ebp, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x1c]
push str.c:wsapcfg_netcfg.ini
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push 0x28
push eax
push str.000000
push str.PINPAK
push str.TERM
call esi
test eax, eax
jne 0x42bf0c
mov dword [ebx + 4], 1
jmp 0x42bf1c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0044006c
add esp, 4
mov dword [ebx + 4], eax
or ecx, 0xffffffff
mov edi, str.11111111
xor eax, eax
lea edx, [esp + 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, str.11111111
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, str.11111111
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov cl, byte [ebx + 4]
lea eax, [esp + 0x44]
push ecx
push edx
push eax
push 3
push 0
call sub.security.dll_unsigned_char___cdecl_PP_Out_Decoded_Data_unsigned_char__unsigned_char__unsigned_char___unsigned_char___unsigned_char_
neg al
sbb eax, eax
push 0x4aa7ec
neg eax
push str.padstat.dat
mov edi, eax
call fcn.0043fe61
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x42c001
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x160
ret
test ebp, ebp
je 0x42c009
push 0
jmp 0x42c00a
push edi
push 0x4abee4
push esi
call fcn.0043fdf4
add esp, 0xc
push esi
call fcn.0043fd77
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x160
ret