joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e356
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00425101
mov edi, eax
test edi, edi
je 0x40a7e1
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0040e6b0
add esp, 8
lea edx, [esp + 0x10]
push 0x43b230
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x43f680
lea ecx, [esp + 0xc]
call fcn.004281df
push 0x43b4ac
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0
call fcn.00428372
push 0x43b4a0
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b488
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b4ac
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b47c
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
mov eax, dword [edi + 0x3b4]
test eax, eax
je 0x40a6a5
push 0x43b46c
lea ecx, [esp + 0xc]
call fcn.00428372
jmp 0x40a74b
push 0x43b460
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b454
lea ecx, [esp + 0xc]
call fcn.00428372
mov eax, dword [0x43c17c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 1
push ecx
push 0x41e
mov ecx, esi
call fcn.00425af7
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.004283ae
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b444
lea ecx, [esp + 0xc]
call fcn.00428372
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x3f2
call fcn.00425af7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.004283ae
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 0
call fcn.004281b5
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
push 0
push 0x80
push 2
push 0
push 2
lea edx, [esp + 0x24]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x40a7d1
mov eax, dword [esp + 8]
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x11c], edi
call fcn.004281b5
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
lea ecx, [esp + 8]
mov dword [esp + 0x11c], edi
call fcn.004281b5
mov ecx, dword [esp + 0x114]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x40a800
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e36b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1c]
sub esp, 0x244
push esi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00425101
test eax, eax
je 0x40a95b
mov eax, dword [eax + 0x3d4]
lea ecx, [esp + 0x144]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x43b4bc]
mov edx, dword [0x43b4b4]
mov eax, dword [0x43b4b8]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
mov dword [esp + 8], edx
mov edx, dword [0x43b4c0]
mov dword [esp + 0xc], eax
mov al, byte [0x43b4c4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], al
call fcn.00406100
lea edx, [esp + 0x144]
push 0x104
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x258], 0
call fcn.00406200
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.0040e6b0
add esp, 8
lea ecx, [esp + 0x40]
push 0x43b1e0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 2
lea edx, [esp + 0x54]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a947
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x14c]
push 0x104
push ecx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x250], 0xffffffff
call fcn.00406170
mov eax, 1
pop esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
add esp, 0x250
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x250], 0xffffffff
call fcn.00406170
mov ecx, dword [esp + 0x248]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x250
ret
Function at 0x40a980
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e38b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1c]
sub esp, 0x244
push esi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00425101
test eax, eax
je 0x40aadb
mov eax, dword [eax + 0x3d8]
lea ecx, [esp + 0x144]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x43b4bc]
mov edx, dword [0x43b4b4]
mov eax, dword [0x43b4b8]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
mov dword [esp + 8], edx
mov edx, dword [0x43b4c0]
mov dword [esp + 0xc], eax
mov al, byte [0x43b4c4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], al
call fcn.00406100
lea edx, [esp + 0x144]
push 0x104
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x258], 0
call fcn.00406200
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.0040e6b0
add esp, 8
lea ecx, [esp + 0x40]
push 0x43b1d4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 2
lea edx, [esp + 0x54]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40aac7
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x14c]
push 0x104
push ecx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x250], 0xffffffff
call fcn.00406170
mov eax, 1
pop esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
add esp, 0x250
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x250], 0xffffffff
call fcn.00406170
mov ecx, dword [esp + 0x248]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x250
ret

Function at 0x40b970
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.00415c80
push esi
push edi
lea eax, [esp + 0xc]
push 0x43bb28
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x1010]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xc]
mov edx, dword [ecx]
push edx
push eax
call edi
lea ecx, [esp + 0xc]
push 0x43bb24
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 8]
push 0
push ecx
push eax
mov eax, dword [esi + 0xa4]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1004
ret 4
Function at 0x40b9f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x43f680
lea ecx, [esp + 0x14]
call fcn.004281df
mov edi, dword [esp + 0x140]
xor esi, esi
push edi
mov dword [esp + 0x13c], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
test ebx, ebx
jle 0x40ba70
cmp byte [esi + edi], 0x5c
jne 0x40ba4d
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00428399
cmp byte [esi + edi], 0x22
jne 0x40ba5e
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00428399
mov al, byte [esi + edi]
lea ecx, [esp + 0x10]
push eax
call fcn.00428399
inc esi
cmp esi, ebx
jl 0x40ba3c
lea ecx, [esp + 0x18]
push 0x43bb30
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push edx
push eax
call esi
lea ecx, [esp + 0x18]
push 0x43bb2c
push ecx
call esi
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
mov eax, dword [ebp + 0xa4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
mov dword [esp + 0x128], 0xffffffff
lea ecx, [esp]
jne 0x40baf8
call fcn.004281b5
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
add esp, 0x12c
ret 4
call fcn.004281b5
mov ecx, dword [esp + 0x120]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x12c
ret 4
Function at 0x40bc00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
cmp ebp, 0xfa00
mov dword [esp + 0x10], ecx
ja 0x40bd1c
push 0x43f680
lea ecx, [esp + 0x30]
call fcn.004281df
xor ebx, ebx
xor esi, esi
cmp ebp, ebx
mov dword [esp + 0x20], ebx
jle 0x40bc94
push edi
mov edi, dword [esp + 0x2c]
cmp byte [esi + edi], 0x5c
jne 0x40bc5f
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00428399
cmp byte [esi + edi], 0x22
jne 0x40bc70
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00428399
cmp byte [esi + edi], 0xd
jne 0x40bc81
push 0xd
lea ecx, [esp + 0x34]
call fcn.00428399
mov al, byte [esi + edi]
lea ecx, [esp + 0x30]
push eax
call fcn.00428399
inc esi
cmp esi, ebp
jl 0x40bc4e
pop edi
push 0x43bb30
lea ecx, [esp + 0x10]
call fcn.004281df
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x10]
call fcn.004283ae
push 0x43bb34
lea ecx, [esp + 0x10]
call fcn.00428372
mov edx, dword [esp + 0xc]
or esi, 0xffffffff
mov eax, dword [edx - 8]
cmp eax, esi
jne 0x40bcdb
mov byte [esp + 0x20], bl
lea ecx, [esp + 0xc]
jmp 0x40bd0a
lea ecx, [esp + 0x14]
push ebx
push ecx
push eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004283c6
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov byte [esp + 0x20], bl
lea ecx, [esp + 0xc]
jne 0x40bd32
call fcn.004281b5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], esi
call fcn.004281b5
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
call fcn.004281b5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], esi
call fcn.004281b5
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x40bd60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e42b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [0x43c17c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xe4]
lea edx, [esp + 0x10]
push ecx
xor esi, esi
push 0x43bb48
push edx
mov dword [esp + 0xe8], esi
call fcn.004239b7
mov eax, dword [esp + 0xf8]
add esp, 0xc
cmp eax, esi
mov edi, 1
jbe 0x40be94
mov ebx, dword [esp + 0xe8]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov al, byte [esi + ebx]
test al, al
jne 0x40bdef
mov cl, byte [esi + ebx + 1]
test cl, cl
je 0x40bdef
dec dword [esp + 0x14]
jmp 0x40be82
and eax, 0xff
push eax
lea eax, [esp + 0x24]
push 0x43bb40
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.00428372
test edi, edi
je 0x40be1f
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
jmp 0x40be26
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 0x4c
jle 0x40be82
cmp esi, dword [esp + 0x14]
jge 0x40be82
push 0x43bb3c
lea ecx, [esp + 0x14]
call fcn.00428372
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0
push edx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
push eax
call fcn.004283c6
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40bf16
push 0x43bb38
lea ecx, [esp + 0x14]
call fcn.004282ae
xor edi, edi
mov eax, dword [esp + 0xec]
add esi, 2
cmp esi, eax
jb 0x40bdd7
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x40beb3
cmp byte [eax + ecx - 1], 0x2c
jne 0x40beb3
dec eax
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00423612
push 0x43b478
lea ecx, [esp + 0x14]
call fcn.00428372
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push 0
push edx
mov edx, dword [ecx + 0xa4]
push eax
lea eax, [esp + 0x54]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x40bf2e
call fcn.004281b5
xor eax, eax
jmp 0x40bf38
lea ecx, [esp + 0x10]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004281b5
xor eax, eax
jmp 0x40bf38
call fcn.004281b5
mov eax, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 0xc

Function at 0x40bf60
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
mov eax, dword [eax]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push 0x43bb54
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x30]
push 0
push ecx
push eax
mov eax, dword [esi + 0xa4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x28
ret 4
Function at 0x40bfc0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x43c17c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x10]
push ecx
xor edi, edi
push 0x43bb64
push edx
mov dword [esp + 0x50], edi
call fcn.004239b7
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp eax, edi
mov esi, 1
jbe 0x40c0bc
mov ebp, dword [esp + 0x50]
xor eax, eax
lea ecx, [esp + 0x14]
mov al, byte [edi + ebp]
push eax
push 0x43bb40
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00428372
test esi, esi
je 0x40c04d
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
jmp 0x40c054
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, 0x4c
jle 0x40c0af
mov edx, dword [esp + 0x54]
dec edx
cmp edi, edx
jae 0x40c0af
push 0x43bb3c
lea ecx, [esp + 0x14]
call fcn.00428372
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push 0
push ecx
mov eax, dword [eax - 8]
lea ecx, [esp + 0x18]
push eax
push eax
call fcn.004283c6
mov edx, dword [ebx + 0xa4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40c129
push 0x43bb38
lea ecx, [esp + 0x14]
call fcn.004282ae
xor esi, esi
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jb 0x40c019
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x40c0db
cmp byte [eax + ecx - 1], 0x2c
jne 0x40c0db
dec eax
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00423612
push 0x43b478
lea ecx, [esp + 0x14]
call fcn.00428372
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push 0
push ecx
mov eax, dword [eax - 8]
lea ecx, [esp + 0x18]
push eax
push eax
call fcn.004283c6
mov edx, dword [ebx + 0xa4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x40c13e
call fcn.004281b5
xor eax, eax
jmp 0x40c148
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004281b5
xor eax, eax
jmp 0x40c148
call fcn.004281b5
mov eax, 1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
Function at 0x40c160
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x43c17c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
push ecx
xor ebx, ebx
push 0x43bb48
push edx
mov dword [esp + 0x54], ebx
call fcn.004239b7
mov eax, dword [esp + 0x64]
add esp, 0xc
xor esi, esi
cmp eax, ebx
mov edi, 0x45
jbe 0x40c257
mov ebp, dword [esp + 0x54]
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [ebx + ebp]
push eax
push 0x43bb40
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.00428372
add esi, 3
cmp esi, edi
jle 0x40c24a
mov eax, dword [esp + 0x58]
dec eax
cmp ebx, eax
jae 0x40c24a
push 0x43bb3c
lea ecx, [esp + 0x14]
call fcn.00428372
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x50]
push 0
push edx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
push eax
call fcn.004283c6
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40c2c8
push 0x43bb38
lea ecx, [esp + 0x14]
call fcn.004282ae
xor esi, esi
mov edi, 0x4a
mov eax, dword [esp + 0x58]
inc ebx
cmp ebx, eax
jb 0x40c1bd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x40c276
cmp byte [eax + ecx - 1], 0x2c
jne 0x40c276
dec eax
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00423612
push 0x43b478
lea ecx, [esp + 0x14]
call fcn.00428372
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x50]
push 0
push ecx
mov eax, dword [edx - 8]
lea ecx, [esp + 0x18]
push eax
push eax
call fcn.004283c6
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x40c2dd
call fcn.004281b5
xor eax, eax
jmp 0x40c2e7
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.004281b5
xor eax, eax
jmp 0x40c2e7
call fcn.004281b5
mov eax, 1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
Function at 0x40cd70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e4e6
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00425101
mov edi, eax
test edi, edi
je 0x40cf9f
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0040e6b0
add esp, 8
lea edx, [esp + 0x10]
push 0x43b230
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x43f680
lea ecx, [esp + 0xc]
call fcn.004281df
push 0x43b4ac
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0
call fcn.00428372
push 0x43b4a0
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b488
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b4ac
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b47c
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43bc10
lea ecx, [esp + 0xc]
call fcn.00428372
mov eax, dword [edi + 0x3b4]
test eax, eax
je 0x40ce63
push 0x43b46c
lea ecx, [esp + 0xc]
call fcn.00428372
jmp 0x40cf09
push 0x43b460
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b454
lea ecx, [esp + 0xc]
call fcn.00428372
mov eax, dword [0x43c17c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 1
push ecx
push 0x41e
mov ecx, esi
call fcn.00425af7
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.004283ae
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
push 0x43b444
lea ecx, [esp + 0xc]
call fcn.00428372
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x3f2
call fcn.00425af7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.004283ae
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 0
call fcn.004281b5
push 0x43b478
lea ecx, [esp + 0xc]
call fcn.00428372
push 0
push 0x80
push 2
push 0
push 2
lea edx, [esp + 0x24]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x40cf8f
mov eax, dword [esp + 8]
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x11c], edi
call fcn.004281b5
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
lea ecx, [esp + 8]
mov dword [esp + 0x11c], edi
call fcn.004281b5
mov ecx, dword [esp + 0x114]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x40e730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
call fcn.0042c5eb
mov esi, dword [eax + 8]
push 0x43bfa0
push 0x92
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40e75c
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004291b3
lea ecx, [esp + 0x1c]
call fcn.00428d8c
mov eax, dword [0x43c17c]
mov edi, 0x4360c4
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xffffffff
call fcn.004282ae
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1c]
push edx
push 0x1001
mov eax, dword [ecx]
lea ecx, [esp + 0x14]
push eax
call fcn.004292c5
test eax, eax
jne 0x40e7ec
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], edi
call fcn.004281b5
lea ecx, [esp + 0xc]
call fcn.00429208
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret
push ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0042941c
lea ecx, [esp + 0xc]
call fcn.004294e0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], edi
call fcn.004281b5
lea ecx, [esp + 0xc]
call fcn.00429208
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret

Function at 0x411365
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x4113a0
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x41137d
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x4113bc
dec esi
je 0x4113b5
dec esi
jne 0x4113c1
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x412761
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], al
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov word [ebx + 0xc], ax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
jne 0x4127a9
mov ecx, 0x2000
lea edi, [esi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], eax
call fcn.004121df
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], 0
mov ecx, 0x8000
push 2
mov word [ebx + 0x3c], cx
mov dword [ebx + 0x34], ecx
add eax, ecx
pop edx
movzx edi, byte [eax]
mov esi, dword [ebx + 0x20]
shl esi, 5
xor esi, edi
and esi, 0x7fff
inc eax
dec edx
mov dword [ebx + 0x20], esi
jne 0x4127cd
cmp byte [ebp + 0x24], 0
je 0x4127f4
mov edi, ebx
call fcn.00412041
jmp 0x412803
xor eax, eax
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x4127f6
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.004114c5
push 0x4b
pop edx
call fcn.004114c5
call fcn.00412504
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x41283d
mov edi, dword [ebx + 0x14]
mov ecx, 0x2000
lea esi, [edi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24