joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a00
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405f4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
push ebx
push esi
push edi
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x4070cc]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
push ecx
push 0x104
call dword [0x407020]
push 0x3c
push 0
lea edx, [ebp - 0x15c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x15c], 0x3c
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x124], 1
lea eax, [ebp - 0x15c]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x40720c]
test eax, eax
jne 0x401ae1
mov dword [ebp - 0x26c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [0x4070c8]
mov eax, dword [ebp - 0x26c]
jmp 0x401baa
mov edx, dword [ebp - 0x12c]
mov byte [ebp + edx - 0x260], 0
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.00401bc0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
call dword [0x4071b8]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x401b44
mov ecx, dword [ebp - 0x264]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x401b44
mov eax, dword [ebp - 0x264]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x401b5e
mov edx, dword [ebp + 0xc]
push edx
push 0
push str.pplive
lea eax, [ebp - 0x120]
push eax
call dword [0x407028]
jmp 0x401b8a
mov ecx, dword [ebp - 0x264]
push ecx
lea edx, [ebp - 0x120]
push edx
call dword [0x4071bc]
push 0x104
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401bc0
add esp, 0xc
mov dword [ebp - 0x270], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [0x4070c8]
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406065
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
push 0x407520
push 0x40a0fc
call fcn.00402bc0
and eax, 0xff
test eax, eax
jne 0x402a51
push 0x407520
push 0x40a0f4
call fcn.00402bc0
and eax, 0xff
test eax, eax
jne 0x402a51
push 0x407520
push 0x40a0f8
call fcn.00402bc0
and eax, 0xff
test eax, eax
jne 0x402a51
push 0x407520
push 0x40a0f0
call fcn.00402bc0
and eax, 0xff
test eax, eax
je 0x402a56
jmp 0x402ba3
mov dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
push eax
push str._Loader__VerComments:_d
push 0x40a1c8
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x40a1c8
call fcn.00401410
push eax
call dword [0x407040]
cmp dword [ebp - 0x10], 1
jne 0x402b5b
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.interface_load_submit.aspx
call fcn.004056fc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ins_stat.pplive.com
call fcn.004056fc
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004021a0
add esp, 8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
mov edx, dword [0x40a0f0]
push edx
mov eax, dword [0x40a0f4]
push eax
mov ecx, dword [0x40a0f8]
push ecx
mov edx, dword [0x40a0fc]
push edx
push str.__Product__s__Custom__s__Channel__s__SoftID__s
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401410
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4070e0]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 0x40a1d0
call dword [0x4070dc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call dword [0x4070c8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x402ba3
cmp dword [ebp - 0x10], 2
jne 0x402ba3
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.interface_down_submit.aspx
call fcn.004056fc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.ins_stat.pplive.com
call fcn.004056fc
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004021a0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402bf0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406079
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x407578
lea eax, [ebp - 0x64]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [ebp - 0x64]
push ecx
push str._Loader__download_successfully_runpath:_s
push 0x40a1c8
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x40a1c8
call fcn.00401410
push eax
call dword [0x407040]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00401410
push eax
push 0
call dword [0x407038]
test eax, eax
jne 0x402cf2
call dword [0x407044]
push eax
push str._Loader__CreateProcess_error__d
push 0x40a1c8
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x40a1c8
call fcn.00401410
push eax
call dword [0x407040]
push 1
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00401410
push eax
push str.open
push 0
call dword [0x4071b0]
mov dword [ebp - 0x68], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403270
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [0x40a50c], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x40a164
push 0x40a100
push 0
call dword [0x4071f0]
mov dword [0x40a508], eax
cmp dword [0x40a508], 0
jne 0x4032c8
call dword [0x407044]
xor eax, eax
jmp 0x4032e8
push 0
mov edx, dword [0x40a508]
push edx
call dword [0x4071f4]
mov eax, dword [0x40a508]
push eax
call dword [0x4071c8]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403b30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jl 0x403b86
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x403b62
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx + 0x2c]
je 0x403b62
jmp 0x403b86
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x50
call dword [0x4070d0]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00401410
push eax
call dword [0x40706c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x60], 0
je 0x403bbd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x60]
push eax
call dword [0x4071dc]
test eax, eax
je 0x403bbd
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
push eax
push 0x4c8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
push edx
call dword [0x4071e0]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x405c90
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x405d7b
cmp dword [ebp + 0xc], 0
jne 0x405ce7
mov ecx, dword [ebp - 4]
call fcn.00405120
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x405cc7
xor eax, eax
jmp 0x405d94
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x407014]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [section..rdata]
jmp 0x405d70
cmp dword [ebp + 0x10], 0
jne 0x405d26
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004051a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x405d09
xor eax, eax
jmp 0x405d94
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [0x407010]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [section..rdata]
jmp 0x405d70
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004051a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x405d3f
xor eax, eax
jmp 0x405d94
mov eax, dword [ebp + 0x10]
push eax
call dword [0x40704c]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [0x40700c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [section..rdata]
xor eax, eax
cmp dword [ebp - 8], 0
sete al
jmp 0x405d94
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x407060]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458cc0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push ebx
mov cl, byte [eax]
mov dl, byte [ecx + 0x4626e0]
mov ecx, dword [esp + 0xc]
xor dl, byte [ecx]
mov byte [eax], dl
mov bl, byte [ecx + 1]
xor edx, edx
mov dl, byte [eax + 1]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 1], dl
mov bl, byte [ecx + 2]
xor edx, edx
mov dl, byte [eax + 2]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 2], dl
mov bl, byte [ecx + 3]
xor edx, edx
mov dl, byte [eax + 3]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 3], dl
mov bl, byte [ecx + 4]
xor edx, edx
mov dl, byte [eax + 4]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 4], dl
mov bl, byte [ecx + 5]
xor edx, edx
mov dl, byte [eax + 5]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 5], dl
mov bl, byte [ecx + 6]
xor edx, edx
mov dl, byte [eax + 6]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 6], dl
mov bl, byte [ecx + 7]
xor edx, edx
mov dl, byte [eax + 7]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 7], dl
mov bl, byte [ecx + 8]
xor edx, edx
mov dl, byte [eax + 8]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 8], dl
mov bl, byte [ecx + 9]
xor edx, edx
mov dl, byte [eax + 9]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 9], dl
mov bl, byte [ecx + 0xa]
xor edx, edx
mov dl, byte [eax + 0xa]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 0xa], dl
mov bl, byte [ecx + 0xb]
xor edx, edx
mov dl, byte [eax + 0xb]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 0xb], dl
mov bl, byte [ecx + 0xc]
xor edx, edx
mov dl, byte [eax + 0xc]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 0xc], dl
mov bl, byte [ecx + 0xd]
xor edx, edx
mov dl, byte [eax + 0xd]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 0xd], dl
mov bl, byte [ecx + 0xe]
xor edx, edx
mov dl, byte [eax + 0xe]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
mov byte [eax + 0xe], dl
mov bl, byte [ecx + 0xf]
xor edx, edx
mov dl, byte [eax + 0xf]
mov dl, byte [edx + 0x4626e0]
xor dl, bl
pop ebx
mov byte [eax + 0xf], dl
ret
Function at 0x458e70
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov dx, word [ecx]
push esi
mov word [eax], dx
mov dx, word [ecx + 2]
mov word [eax + 2], dx
mov dx, word [ecx + 4]
mov word [eax + 4], dx
mov dx, word [ecx + 6]
mov word [eax + 6], dx
mov dx, word [ecx + 8]
mov word [eax + 8], dx
mov dx, word [ecx + 0xa]
mov word [eax + 0xa], dx
mov dx, word [ecx + 0xc]
mov word [eax + 0xc], dx
mov cx, word [ecx + 0xe]
push edi
mov word [eax + 0xe], cx
mov esi, 0x45fb70
mov word [esp + 0x10], dx
mov word [esp + 0x12], cx
add eax, 0x10
mov edi, 0x10
mov ebx, 0x28
mov ebp, edi
and ebp, 0x8000000f
jns 0x458ee8
dec ebp
or ebp, 0xfffffff0
inc ebp
jne 0x458f52
mov edx, dword [esp + 0x11]
mov cl, byte [esp + 0x10]
and edx, 0xff
mov byte [esp + 0x20], cl
mov cl, byte [edx + 0x4625e0]
mov edx, dword [esp + 0x12]
and edx, 0xff
mov byte [esp + 0x10], cl
mov cl, byte [edx + 0x4625e0]
mov edx, dword [esp + 0x13]
and edx, 0xff
mov byte [esp + 0x11], cl
mov cl, byte [edx + 0x4625e0]
mov edx, dword [esp + 0x20]
and edx, 0xff
mov byte [esp + 0x12], cl
mov cl, byte [edx + 0x4625e0]
mov dx, word [esp + 0x10]
xor dx, word [esi]
mov byte [esp + 0x13], cl
mov cx, word [esp + 0x12]
add esi, 2
xor dx, word [eax - 0x10]
xor cx, word [eax - 0xe]
add edi, 4
mov word [eax], dx
mov word [eax + 2], cx
add eax, 4
dec ebx
mov word [esp + 0x10], dx
mov word [esp + 0x12], cx
jne 0x458ed9
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x45b620
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x6c
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
mov byte [esp + 0x30], 0xb
mov byte [esp + 0x31], 0xcd
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0x10
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.0045c6d0
add esp, 4
xor esi, esi
call fcn.0045c6a0
mov dword [esp + 8], eax
inc esi
fild dword [esp + 8]
cmp esi, 0x10
fmul qword [0x4627e0]
fistp qword [esp + 8]
mov al, byte [esp + 8]
mov byte [esp + esi + 0xf], al
jl 0x45b657
mov al, byte [esp + 0x11]
mov esi, dword [esp + 0x78]
and al, 0x7f
mov byte [esp + 0x11], al
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
xor eax, eax
mov dl, byte [eax + 0x45fc70]
xor dl, 0x5b
mov byte [esp + eax + 0x20], dl
inc eax
cmp eax, 0x10
jl 0x45b693
lea eax, [esp + 0x20]
push eax
call fcn.00458f80
lea ecx, [esp + 0x14]
push ecx
call fcn.004585c0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
push eax
push esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.0045b6f0
add esp, 0x10
pop edi
pop esi
add esp, 0x6c
ret
Function at 0x45b840
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.0045c6d0
mov ebx, dword [esp + 0x24]
xor eax, eax
add esp, 4
mov al, byte [ebx + 3]
mov esi, eax
cmp esi, 0x40
jge 0x45b88b
call fcn.0045c6a0
mov dword [esp + 0x20], eax
inc esi
fild dword [esp + 0x20]
cmp esi, 0x40
fmul qword [0x4627e0]
fistp qword [esp + 0x10]
mov cl, byte [esp + 0x10]
mov byte [ebx + esi + 3], cl
jl 0x45b866
mov esi, dword [esp + 0x1c]
lea eax, [ebx + 2]
mov ecx, 0x11
lea edi, [esi + 0x10]
mov dl, byte [edi]
xor byte [eax - 2], dl
mov dl, byte [esi + 0x11]
xor byte [eax - 1], dl
mov dl, byte [esi + 0x12]
xor byte [eax], dl
mov dl, byte [esi + 0x13]
xor byte [eax + 1], dl
add eax, 4
dec ecx
jne 0x45b89a
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x45b8da
cmp eax, 0x80
je 0x45b8da
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 8
ret
mov ecx, dword [esi + 0xc]
push 0x44
push ebx
push ecx
call fcn.0045b3b0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x45b903
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x13]
mov dl, byte [ebx + 3]
xor ecx, edx
mov eax, ecx
mov ebp, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
inc eax
and ebp, 0x80000003
jns 0x45b934
dec ebp
or ebp, 0xfffffffc
inc ebp
test eax, eax
jle 0x45b963
lea ecx, [ebx + 2]
mov dword [esp + 0x20], eax
mov dl, byte [edi]
xor byte [ecx - 2], dl
mov dl, byte [esi + 0x11]
xor byte [ecx - 1], dl
mov dl, byte [esi + 0x12]
xor byte [ecx], dl
mov dl, byte [esi + 0x13]
xor byte [ecx + 1], dl
mov edx, dword [esp + 0x20]
add ecx, 4
dec edx
mov dword [esp + 0x20], edx
jne 0x45b93f
test ebp, ebp
jle 0x45b977
lea eax, [ebx + eax*4]
mov cl, byte [edi]
mov dl, byte [eax]
xor dl, cl
inc edi
mov byte [eax], dl
inc eax
dec ebp
jne 0x45b96a
xor eax, eax
pop edi
mov al, byte [ebx]
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4010d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47048f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041e0e2
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x44]
mov byte [esp + 0x30], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x78], 0x479254
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 0x479240
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], eax
mov byte [esp + 0x30], 5
mov dword [esi], 0x479180
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push ebx
lea edx, [esp + 0x20]
push eax
push edx
push ebx
push 0x4db790
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CWnd::Create
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4034f9
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4708b8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x65
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
test ebp, ebp
je 0x40361b
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CListCtrl::GetItemText_1
add esi, 0x1a0
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator_1
push str..txt
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 0x4d7210
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4035b5
push 0x4db790
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push edi
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rewind]
lea edx, [ebx + 1]
push edx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
mov ecx, ebp
mov byte [edi + ebx], 0
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push edi
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x403630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4708d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 0x188]
mov dword [esp + 0x10], 0
test esi, esi
je 0x403699
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi + 8]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 8]
mov esi, dword [esi]
push 5
push 0x4db790
push 0x4db790
push ecx
push str.open
push 0
call edi
test esi, esi
jne 0x40366b
pop edi
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470ad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x479758
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.0041e394
mov dword [ebx], 0x479744
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.0041e394
or eax, 0xffffffff
push 0x4db810
mov dword [ebx], 0x479708
push edi
mov dword [esi], 0x47971c
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret