joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4257f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x4a1668]
sub esp, 0x108
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x18]
push 0x45eba0
push edx
call fcn.0044c952
lea eax, [esp + 0x20]
push 0x45e38c
push eax
call fcn.0044da6f
mov edi, eax
add esp, 0x18
test edi, edi
je 0x425937
push edi
push 1
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.0044e116
push edi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call fcn.0044e116
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, ecx
add esp, 0x20
imul esi, eax
cmp eax, 1
jle 0x42592e
cmp ecx, 1
jle 0x42592e
cmp esi, 0x271000
jge 0x42592e
push ebx
push ebp
push esi
call fcn.0044d971
push esi
mov ebp, eax
call fcn.0044d971
push edi
push 1
push esi
push ebp
mov ebx, eax
call fcn.0044e116
push edi
push 1
push esi
push ebx
call fcn.0044e116
push edi
call fcn.0044d9c2
add esp, 0x2c
test esi, esi
jle 0x4258bd
mov edi, ebp
mov eax, ebx
sub edi, ebx
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x4258b4
push 0x466248
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x124]
mov dword [edx], eax
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov eax, dword [0x4a1644]
test eax, eax
mov esi, dword [0x4a1640]
mov dword [0x4a1640], ebp
pop ebp
mov dword [0x4a1644], ebx
pop ebx
je 0x425908
push eax
call fcn.0044d96c
add esp, 4
test esi, esi
je 0x425915
push esi
call fcn.0044d96c
add esp, 4
push 0x466248
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret
push edi
call fcn.0044d9c2
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret

Function at 0x425d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edi
call fcn.0040ddd0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00409df0
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425e16
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x426620
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x45a038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4a1e24]
push ebx
push esi
mov ecx, 0x4a1e24
xor esi, esi
mov dword [esp + 0x18], 0x45ebfc
call dword [eax + 0xc]
add eax, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x34]
push esi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
call fcn.00426440
test eax, eax
je 0x4266c8
push edi
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4266a5
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x4266a1
mov esi, ebx
mov dword [esp + 0x18], ebx
jmp 0x4266af
mov eax, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x4266ba
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebx
call fcn.00402be0
pop edi
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0x45ebfc
je 0x4266e3
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
call fcn.00402be0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x42670b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x426b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4a17b4]
push ebx
push esi
push edi
push eax
call fcn.00426620
mov esi, eax
mov eax, dword [0x4a1508]
add esp, 4
cmp eax, 0x80000000
jb 0x426b92
cmp esi, 0x7fff
jle 0x426b92
mov esi, 0x7fff
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0044c570
mov ecx, dword [0x4a17b4]
mov ebx, esp
push ecx
push esi
push ebx
push 0x45ebd0
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
cmp byte [ebx], 0
je 0x426c48
mov edi, edi
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 4]
push eax
push 0x45ebdc
push ebx
call fcn.0044d009
mov esi, dword [0x4a1784]
mov eax, dword [0x4a1788]
add esp, 0x1c
cmp esi, eax
jb 0x426c0f
lea ecx, [esi + 1]
push ecx
mov ecx, 0x4a1780
call fcn.00425c00
test al, al
je 0x426c52
mov eax, dword [0x4a1780]
imul esi, esi, 0x70
add esi, eax
mov edi, esi
je 0x426c27
mov ecx, 0x1c
lea esi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
inc dword [0x4a1784]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426c32
sub eax, edx
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x426bc0
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004027c0
int3
Function at 0x4271b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a17b4]
push esi
push edi
push eax
call fcn.00426620
mov edi, eax
add esp, 4
cmp edi, 0x7fff
jle 0x4271d2
mov edi, 0x7fff
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0044c570
mov ecx, dword [0x4a17b4]
mov esi, esp
push ecx
push edi
push esi
push 0x45ebb0
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
cmp byte [esi], 0
je 0x427232
lea ebx, [ebx]
push 0x3d
push esi
call fcn.0044d5d0
add esp, 8
test eax, eax
je 0x42721b
inc eax
push eax
mov ecx, 0x4a16d4
call fcn.0040ae80
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427220
sub eax, edx
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x427200
mov eax, dword [0x4a16d8]
test eax, eax
ja 0x42726d
push 0x45ec38
mov ecx, 0x4a16d4
call fcn.0040ae80
push 0x45ec2c
mov ecx, 0x4a16d4
call fcn.0040ae80
push 0x45ec10
mov ecx, 0x4a16d4
call fcn.0040ae80
call fcn.00425950
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

Function at 0x427280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a17b4]
push esi
push edi
push eax
call fcn.00426620
mov edi, eax
add esp, 4
cmp edi, 0x7fff
jle 0x4272a2
mov edi, 0x7fff
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0044c570
mov ecx, dword [0x4a17b4]
mov esi, esp
push ecx
push edi
push esi
push 0x45ebc4
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
cmp byte [esi], 0
je 0x427302
lea ebx, [ebx]
push 0x3d
push esi
call fcn.0044d5d0
add esp, 8
test eax, eax
je 0x4272eb
inc eax
push eax
mov ecx, 0x4a16e4
call fcn.0040ae80
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4272f0
sub eax, edx
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4272d0
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
Function at 0x427310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a17b4]
push ebx
push esi
push edi
push eax
call fcn.00426620
mov esi, eax
add esp, 4
cmp esi, 0x7fff
jle 0x427349
mov esi, 0x7fff
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0044c570
mov ecx, dword [0x4a17b4]
mov ebx, esp
push ecx
push esi
push ebx
push 0x45ec40
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp byte [ebx], 0
mov dword [ebp - 4], 0
je 0x4273e4
lea esp, [esp]
push 0x3d
push ebx
call fcn.0044d5d0
mov edi, eax
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4273a2
sub eax, edx
test edi, edi
lea ebx, [ebx + eax + 1]
je 0x4273df
push 0x2c
push edi
call fcn.0044d5d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4273df
inc edi
mov byte [esi], 0
push edi
mov ecx, 0x4a17a0
inc esi
call fcn.0040ae80
push esi
mov ecx, 0x4a1790
call fcn.0040ae80
cmp byte [ebx], 0
jne 0x427390
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427408
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esp, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427420
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 9
ja case.default.0x42742e
push esi
jmp dword [eax*4 + 0x427508]
mov esi, dword [0x4a1ae8]
mov dword [0x4a1ae8], 0
jmp 0x4274ed
mov esi, dword [0x4a1ae4]
mov dword [0x4a1ae4], 0
jmp 0x4274ed
mov esi, dword [0x4a1ae0]
mov dword [0x4a1ae0], 0
jmp 0x4274ed
mov esi, dword [0x4a1adc]
mov dword [0x4a1adc], 0
jmp 0x4274ed
mov esi, dword [0x4a1ad8]
mov dword [0x4a1ad8], 0
jmp 0x4274ed
mov esi, dword [0x4a1ad4]
mov dword [0x4a1ad4], 0
jmp 0x4274ed
mov esi, dword [0x4a1ad0]
mov dword [0x4a1ad0], 0
jmp 0x4274ed
mov esi, dword [0x4a1acc]
mov dword [0x4a1acc], 0
jmp 0x4274ed
mov esi, dword [0x4a1ac8]
mov dword [0x4a1ac8], 0
jmp 0x4274ed
mov esi, dword [0x4a1ac4]
mov dword [0x4a1ac4], 0
test esi, esi
je 0x427501
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret 4
Function at 0x428c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45a178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [0x4a1af0], edi
mov eax, dword [0x4a1de4]
push 0xc3
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004285a0
mov ebp, dword [eax]
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov dword [esp + 0x1c], ebp
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
imul edi, edi, 0x3b0
mov byte [esp + 0x28], 2
mov esi, 0x801f
add edi, 0x49c224
mov dword [esp + 0x10], 7
cmp dword [edi - 0x10], 1
jne 0x428cb2
push edi
lea eax, [esi - 0x801e]
push eax
lea ecx, [esp + 0x38]
push 0x45ed38
push ecx
call fcn.00412d20
add esp, 0x10
jmp 0x428ccb
lea edx, [esi - 0x801e]
push edx
lea eax, [esp + 0x34]
push 0x45ed30
push eax
call fcn.00412d20
add esp, 0xc
mov ebx, dword [esp + 0x30]
push ebx
push esi
push 0
push esi
push ebp
call dword [sym.imp.USER32.dll_ModifyMenuA]
mov eax, dword [esp + 0x10]
add edi, 0x74
inc esi
dec eax
mov dword [esp + 0x10], eax
jne 0x428c90
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x38]
push 0
push eax
mov eax, dword [esp + 0x3c]
push 0
push edx
push eax
push 0x42
push ebp
call dword [sym.imp.USER32.dll_TrackPopupMenu]
add ebx, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d28
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x428d3b
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x42b4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3f5
push eax
call edi
mov ecx, dword [esi + 4]
push 0x41f
push ecx
mov ebx, eax
call edi
mov edx, dword [esi + 4]
push 0x4ba
push edx
call edi
mov ebp, eax
mov eax, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov dword [esp + 0x14], ebp
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 0
push 0
push 0x188
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x30], 0
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42b5d6
mov ecx, edi
shl ecx, 6
mov eax, dword [ecx + 0x49ac98]
test eax, eax
je 0x42b5d6
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.00418860
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
lea edx, [eax + eax]
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edx
or eax, ecx
jge 0x42b572
push edx
lea ecx, [esp + 0x14]
call fcn.00402c90
mov esi, dword [esp + 0x10]
push esi
call fcn.004106c0
add esp, 4
test esi, esi
jne 0x42b583
xor eax, eax
jmp 0x42b593
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b588
sub eax, edx
js 0x42b60f
cmp eax, dword [esi - 8]
jg 0x42b60f
push esi
mov dword [esi - 0xc], eax
push edi
mov byte [eax + esi], 0
call fcn.00402a30
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.00418860
mov esi, dword [esp + 0x10]
push esi
push 0xffffffffffffffff
push 0x14c
push ebp
call ebx
cmp eax, 0xffffffff
jne 0x42b5d6
push esi
push 0
push 0x143
push ebp
call ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b5f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
push 0x80070057
call fcn.004027c0
int3
Function at 0x42c740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
movzx eax, word [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [0x4a1de4]
push 0xf0
push eax
mov ebp, 1
push esi
mov ebx, ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x42c847
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x42c847
push eax
call dword [sym.imp.kernel32.dll_SetHandleCount_1]
mov esi, eax
test esi, esi
je 0x42c847
push edi
call dword [fcn.004661f4]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x42c7b0
mov ebp, dword [esp + 0x10]
jmp 0x42c7b0
mov ax, word [esi]
test ax, ax
je 0x42c83b
mov cx, word [esi + 2]
add esi, 2
mov ebp, dword [esi + 2]
add esi, 2
add esi, 4
cmp cx, 0x403
jne 0x42c7e5
mov edx, dword [ebx + 4]
push esi
push 0
movzx ecx, ax
push 0x143
push ecx
push edx
jmp 0x42c814
cmp cx, 0x1234
jne 0x42c823
lea ecx, [esp + 0x14]
push ecx
push 0
movzx edx, ax
mov eax, dword [ebx + 4]
push 0x401
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], esi
push eax
call edi
cmp eax, 0xffffffff
jne 0x42c823
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
add esi, ebp
test eax, eax
jne 0x42c7a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret 4
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x42fed0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x42ff5d
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, dword [esp + 0x14]
lea esi, [eax + 1]
mov eax, dword [edi]
mov ecx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov edx, 1
sub edx, ecx
sub eax, esi
or edx, eax
jge 0x42ff15
push esi
mov ecx, edi
call fcn.00402c90
mov eax, dword [edi]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x42ff39
mov ecx, dword [edi]
test ecx, ecx
je 0x42ff3d
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42ff30
sub ecx, esi
test ecx, ecx
jl 0x42ff53
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x42ff53
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
pop edi
pop esi
mov byte [ecx + edx], 0
pop ebx
ret 8
push 0x80070057
call fcn.004027c0
mov ecx, dword [esp + 0xc]
call fcn.00402be0
xor eax, eax
pop ebx
ret 8
Function at 0x430700
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45a428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a1e24]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x4a1e24
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
jne 0x43077e
mov esi, dword [esi + 0x34]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x34]
push ebp
push 0x45f360
push eax
call fcn.0044da6f
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x4307d9
mov eax, dword [esi + 0x28]
cmp eax, edi
jbe 0x4307d0
cmp edi, eax
jae 0x43080e
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
push ecx
lea edx, [esp + 0x14]
push 0x45d778
push edx
call fcn.00412d20
mov ebx, dword [esp + 0x1c]
push ebp
push ebx
call fcn.0044e7e9
mov eax, dword [esi + 0x28]
add esp, 0x14
inc edi
cmp edi, eax
jb 0x4307a1
push ebp
call fcn.0044d9c2
add esp, 4
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.004027c0
int3
Function at 0x430820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45a3c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 8], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x45dde0
mov dword [esi], 0x45f364
mov dword [esi + 0x20], 0x45f864
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov byte [esp + 0x14], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 2
call fcn.0042ff70
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 3
call fcn.0042ff70
mov dword [esi + 0xfc], edi
mov dword [esi + 0x10c], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov ecx, 0x45ed10
mov dword [esi + 0xf8], ecx
mov dword [esi + 0x128], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], eax
mov dword [esi + 0x124], ecx
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], eax
mov dword [esi + 0x150], ecx
mov dword [esi + 0x174], edi
mov dword [esi + 0x178], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], eax
mov dword [esi + 0x17c], ecx
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1a8], ecx
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1e8], edi
mov dword [esi + 0x1ec], edi
mov dword [esi + 0x1f0], edi
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1d4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1fc], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x432eb0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 4
ja case.default.0x432eba
push esi
jmp dword [eax*4 + 0x432f34]
mov esi, dword [0x4a1c70]
mov dword [0x4a1c70], 0
jmp 0x432f19
mov esi, dword [0x4a1c6c]
mov dword [0x4a1c6c], 0
jmp 0x432f19
mov esi, dword [0x4a1c68]
mov dword [0x4a1c68], 0
jmp 0x432f19
mov esi, dword [0x4a1c64]
mov dword [0x4a1c64], 0
jmp 0x432f19
mov esi, dword [0x4a1c60]
mov dword [0x4a1c60], 0
test esi, esi
je 0x432f2d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret 4

Function at 0x4330c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45a547
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
push esi
push edi
push 0x413
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.default.0x4330f5
jmp dword [eax*4 + 0x43326c]
push 0x158
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x433124
mov ecx, eax
call fcn.004345a0
mov esi, eax
jmp 0x433126
xor esi, esi
push 0
push edi
mov ecx, esi
call fcn.00432f80
mov dword [0x4a1c70], eax
mov ecx, dword [esi + 4]
push 5
push ecx
jmp 0x433250
push 0x14c
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], 1
je 0x43317a
mov ecx, eax
call fcn.00435d70
mov esi, eax
push 0
push edi
mov ecx, esi
call fcn.00432fc0
mov dword [0x4a1c6c], eax
jmp 0x43324a
xor esi, esi
push esi
push edi
mov ecx, esi
call fcn.00432fc0
mov dword [0x4a1c6c], eax
jmp 0x43324a
push 0x50
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], 2
je 0x4331b4
mov ecx, eax
call fcn.004371f0
mov esi, eax
jmp 0x4331b6
xor esi, esi
push 0
push edi
mov ecx, esi
call fcn.00433000
mov dword [0x4a1c68], eax
mov eax, dword [esi + 4]
push 5
push eax
jmp 0x433250
push 0x94
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], 3
je 0x4331f8
mov ecx, eax
call fcn.004384f0
mov esi, eax
jmp 0x4331fa
xor esi, esi
push 0
push edi
mov ecx, esi
call fcn.00433040
mov dword [0x4a1c64], eax
mov ecx, dword [esi + 4]
push 5
push ecx
jmp 0x433250
push 0x158
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], 4
je 0x433239
mov ecx, eax
call fcn.00439070
mov esi, eax
jmp 0x43323b
xor esi, esi
push 0
push edi
mov ecx, esi
call fcn.00433080
mov dword [0x4a1c60], eax
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4