joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c2b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x18], eax
cmp byte [esi + 8], 0x4e
jne 0x42c40d
cmp byte [esi + 9], 0x4c
jne 0x42c40d
mov edi, dword [esp + 0x24]
lea ecx, [esi + 0x10]
push ebp
mov ebp, dword [ecx]
lea edx, [edi + 1]
mov dword [edi + 1], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [edx + 8], ebp
mov ecx, dword [ecx + 0xc]
mov byte [edi + 0x11], al
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0x28], edx
mov cl, byte [esi + 0x20]
lea edx, [esi + 0x21]
mov byte [edi], cl
lea ecx, [edi + 0x12]
mov ebp, dword [edx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ecx + 8], ebp
mov bp, word [edx + 0xc]
mov word [ecx + 0xc], bp
mov dl, byte [edx + 0xe]
mov byte [edi + 0x21], al
mov byte [ecx + 0xe], dl
mov al, byte [esi + 0x31]
xor ecx, ecx
push eax
mov cl, byte [esi + 0x30]
lea edx, [esp + 0x14]
push ecx
push 0x4492ac
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x104]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ax, word [esi + 0xa]
lea edx, [esi + 0xa]
mov ecx, 0x4497fc
pop ebp
cmp ax, word [ecx]
jne 0x42c3e3
mov cx, word [esi + 0x32]
mov dword [esp + 0x18], 0xffffffff
mov word [edi + 0x26], cx
mov edx, dword [esi + 0x34]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x34], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + 0x4c]
lea ecx, [esp + 0xc]
mov dword [edi + 0x48], edx
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x42e110
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x43ecb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
mov ecx, 0x11
mov dword [esp + 0x18], eax
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov byte [esp + 0x74], 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push 0
push 0x8000020
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test ebx, ebx
je 0x42e2f2
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x42e294
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push 0x3e8
push edx
call edi
cmp eax, 0x102
jne 0x42e1d9
inc ebp
cmp ebp, 0xa
jg 0x42e1d9
mov eax, dword [esi + 4]
test eax, eax
je 0x42e1d9
mov eax, dword [esi + 4]
test eax, eax
jne 0x42e1b2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42e2dc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42e2dc
mov ecx, dword [esp + 0x84]
cmp ecx, 3
ja case.default.0x42e209
jmp dword [ecx*4 + 0x42e33c]
push eax
lea edx, [esp + 0x14]
push 0x449b90
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x42e279
push eax
lea eax, [esp + 0x14]
push 0x449b78
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x42e279
mov ecx, dword [esp + 0x88]
push ecx
push eax
push 0x449b58
jmp 0x42e258
mov ecx, dword [esp + 0x88]
push ecx
push eax
push 0x449b38
lea edx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x42e279
lea eax, [esp + 0x10]
push 0x449b28
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.0042e070
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 0x10
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
jmp 0x42e2f6
mov ebp, dword [esp + 0x7c]
cmp ebp, 0xa
jg 0x42e294
test ebx, ebx
je 0x42e294
mov eax, dword [esi + 4]
test eax, eax
je 0x42e294
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x42e2c7
Function at 0x42e350
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x43ecd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
xor edi, edi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
lea ecx, [esp + 8]
push eax
push 0x449030
push ecx
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 8]
push edi
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.0042db20
cmp eax, 0xffffffff
jne 0x42e3c9
mov ecx, dword [esi + 0x20]
push 0x13
push ecx
push 0x46f
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
or edi, 0xffffffff
mov eax, dword [0x44ee44]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x42e860
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0x448b20
mov esi, ecx
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42e895
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x800
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call edi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [esi + 0x1d60]
add esp, 0x10
sub eax, edx
cmp eax, 0x7fc
jbe 0x42e90a
mov ebp, 0x7fc
mov ecx, dword [esi + 0x1d60]
push 0
push ecx
push ebx
call edi
push ebx
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x20]
push 1
lea edx, [esp + 0x24]
push ebp
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 1
push ebx
je 0x42e92c
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret 8
mov ebp, eax
test ebp, ebp
jne 0x42e8c0
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret 8
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push ebp
push eax
call fcn.0042e400
test eax, eax
jg 0x42e956
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x800
ret 8
mov ecx, dword [esp + 0x818]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
mov edi, dword [esi + 0x1d60]
xor edx, edx
add edi, ebp
mov ecx, dword [esi + 0x20]
mov eax, edi
mov dword [esi + 0x1d60], edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
div dword [esi + 0x1d34]
push eax
push ecx
push 0x472
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x1d60]
lea edi, [esi + 0x110]
push eax
push 0x449c2c
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, esi
call fcn.0042b7b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x800
ret 8
Function at 0x430f00
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43eeb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x30]
push 0
push 0x40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x430f9b
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
call fcn.0043ad26
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x24
ret 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
push 0x5c
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
mov ecx, dword [ecx - 8]
sub ecx, eax
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x3c]
test al, al
jne 0x430ff7
mov eax, dword [esp + 0x38]
mov byte [eax], 0xfa
jmp 0x431031
cmp al, 1
jne 0x431004
mov eax, dword [esp + 0x38]
mov byte [eax], 0xff
jmp 0x431031
cmp al, 2
jne 0x431011
mov eax, dword [esp + 0x38]
mov byte [eax], 0xf6
jmp 0x431031
cmp al, 3
jne 0x43101e
mov eax, dword [esp + 0x38]
mov byte [eax], 0
jmp 0x431031
cmp al, 4
je 0x43102a
cmp al, 5
jne 0x4310bc
mov eax, dword [esp + 0x38]
mov byte [eax], 2
mov al, byte [eax]
cmp al, 0xfa
je 0x431081
cmp al, 0xff
je 0x431081
cmp al, 0xf6
je 0x431081
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
call fcn.0043ad26
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x24
ret 0x10
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x30]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.0042bf30
test eax, eax
jne 0x430f56
cmp word [esi + 0x26], 0x800
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
jbe 0x431048
jmp 0x430f5f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0043ad26
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 0x10
Function at 0x436060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43f228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x10]
and esi, 0xffff
mov dword [esp + 0x1c], 0
push esi
push 0x44a368
push eax
mov dword [esi*4 + 0x44ee18], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x448d64
push 0x44ee44
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 1
push 0x449590
push edx
call ebp
lea ecx, [esp + 0x24]
mov edi, eax
call sub.MFC42.DLL_CString::CString
push 0x448d64
lea eax, [esp + 0x28]
push 0x44ee44
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
push 0x6000
push 0x44a358
push ecx
call ebp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x1ea8], eax
call sub.MFC42.DLL_CString::CString
push 0x448d64
lea edx, [esp + 0x28]
push 0x44ee44
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push 0x4000
push 0x44a348
push eax
call ebp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x1eac], eax
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov dword [esi*4 + 0x44edf0], edi
test edi, edi
jle 0x436185
lea ecx, [esi + esi*4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, 0x44de50
lea edx, [eax + 0x300]
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, edi
jl 0x436175
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x439fe0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x30]
lea ecx, [eax + 1]
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
jb 0x439ffe
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
xor eax, eax
mov al, byte [esi + 0x18]
dec eax
je 0x43a152
dec eax
je 0x43a0c3
dec eax
je 0x43a01d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
cmp eax, ecx
jne 0x43a0b3
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x44]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 0x1000
push 1
push eax
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43a07a
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
dec ecx
cmp eax, ecx
jge 0x43a0a6
mov edx, dword [esi + 0x38]
inc eax
mov dword [esi + 0x40], eax
mov eax, dword [edx + eax*4]
mov dword [esi + 0x24], eax
push eax
mov eax, dword [esi + 0x44]
push 0x1000
push 1
push eax
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43a04b
mov ecx, dword [esi + 0x44]
push edi
lea edx, [esi + 0x60]
push ecx
push edx
call fcn.0043a6a0
mov eax, dword [esi + 0x44]
add esp, 0xc
lea ecx, [eax + 1]
lea edx, [eax + edi]
mov dword [esi + 0x48], ecx
xor ecx, ecx
mov dword [esi + 0x4c], edx
mov cl, byte [eax]
pop edi
pop esi
mov eax, ecx
pop ebx
ret 4
test edi, edi
jne 0x43a07a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
xor edx, edx
pop edi
mov dl, byte [eax]
inc eax
mov dword [esi + 0x48], eax
pop esi
mov eax, edx
pop ebx
ret 4
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43a13f
mov esi, dword [esi + 0x24]
mov eax, dword [edi + 0x1008]
cmp eax, esi
je 0x43a0e2
mov dword [edi + 0x1004], 0
mov eax, dword [edi + 0x1000]
mov ecx, dword [edi + 0x1004]
cmp eax, ecx
jl 0x43a127
push esi
push 0x1000
push 1
push edi
mov dword [edi + 0x1008], esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [edi + 0x1004], eax
test eax, eax
jne 0x43a11d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
mov dword [edi + 0x1000], 0
mov ecx, dword [edi + 0x1000]
xor eax, eax
mov al, byte [ecx + edi]
inc ecx
mov dword [edi + 0x1000], ecx
pop edi
pop esi
pop ebx
ret 4
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.MSVCRT.dll_getc]
add esp, 4
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x1c]
xor edx, edx
pop edi
mov dl, byte [eax]
inc eax
mov dword [esi + 0x1c], eax
pop esi
mov eax, edx
pop ebx
ret 4
Function at 0x43a170
Capabilities:
Write file on windows

Disassembly:
push ebp
push esi
push edi
mov edi, ecx
xor eax, eax
mov edx, dword [edi + 0x34]
mov al, byte [edi + 0x19]
inc edx
dec eax
mov dword [edi + 0x34], edx
je 0x43a305
dec eax
je 0x43a296
dec eax
jne 0x43a315
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCRT.dll_fwrite]
test esi, esi
push ebx
je 0x43a1e6
mov eax, dword [edi + 0x28]
mov ecx, dword [esi + 0x2800]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x2804], eax
mov byte [ecx + esi], bl
mov ecx, dword [esi + 0x2800]
inc ecx
cmp ecx, 0x2800
mov dword [esi + 0x2800], ecx
jne 0x43a1ff
push eax
push ecx
push 1
push esi
call ebp
add esp, 0x10
mov dword [esi + 0x2800], 0
jmp 0x43a1ff
mov ebx, dword [esp + 0x14]
mov edx, dword [edi + 0x28]
mov eax, ebx
push edx
and eax, 0xff
push eax
call dword [sym.imp.MSVCRT.dll_putc]
add esp, 8
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
cmp ecx, eax
jne 0x43a224
mov edx, dword [edi + 0x44]
push 0x1000
lea eax, [edi + 0x60]
push edx
push eax
call fcn.0043a6a0
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov dword [edi + 0x48], ecx
mov edx, dword [edi + 0x48]
mov byte [edx], bl
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x34]
inc eax
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x58]
mov ebx, dword [ecx + eax*4]
cmp edx, ebx
pop ebx
jne 0x43a315
test esi, esi
je 0x43a26d
mov eax, dword [esi + 0x2800]
test eax, eax
je 0x43a26d
mov ecx, dword [esi + 0x2804]
push ecx
push eax
push 1
push esi
call ebp
add esp, 0x10
mov dword [esi + 0x2800], 0
mov edx, dword [edi + 0x54]
mov eax, dword [edi + 0x58]
dec edx
cmp eax, edx
jge 0x43a315
mov ecx, dword [edi + 0x50]
inc eax
mov dword [edi + 0x58], eax
mov edx, dword [ecx + eax*4]
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], edx
pop edi
pop esi
pop ebp
ret 8
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43a2e8
mov edi, dword [edi + 0x28]
mov eax, dword [esi + 0x2800]
mov cl, byte [esp + 0x10]
mov dword [esi + 0x2804], edi
mov byte [eax + esi], cl
mov edx, dword [esi + 0x2800]
inc edx
mov eax, edx
mov dword [esi + 0x2800], edx
cmp eax, 0x2800
jne 0x43a315
push edi
push edx
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov dword [esi + 0x2800], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x28]
and eax, 0xff
push edx
push eax
call dword [sym.imp.MSVCRT.dll_putc]
add esp, 8
pop edi
pop esi
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov dl, byte [esp + 0x10]
mov byte [ecx], dl
mov eax, dword [edi + 0x20]
inc eax
mov dword [edi + 0x20], eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x43a320
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43f5f6
push eax
mov eax, 0x3820
mov dword fs:[0], esp
call fcn.0043b050
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x3828], edi
mov dword [esp + 0x3838], edi
mov dword [esp + 0x101c], edi
mov dword [esp + 0x1020], edi
mov dword [esp + 0x1024], edi
mov byte [esp + 0x3838], 1
xor eax, eax
mov ecx, dword [esi]
inc eax
cmp eax, 0xfee
mov byte [ecx + eax - 1], 0x20
jl 0x43a374
mov ebp, 0xfee
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
shr eax, 1
test ah, 1
mov dword [esp + 0x10], eax
jne 0x43a3b7
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.00439fe0
cmp eax, 0xffffffff
je 0x43a475
or ah, 0xff
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x10]
mov ecx, esi
test al, 1
lea eax, [esp + 0x1c]
push eax
je 0x43a3f5
call fcn.00439fe0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a475
lea ecx, [esp + 0x1028]
push ecx
push ebx
mov ecx, esi
call fcn.0043a170
mov edx, dword [esi]
inc ebp
mov byte [edx + ebp - 1], bl
and ebp, 0xfff
jmp 0x43a38c
call fcn.00439fe0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a475
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00439fe0
cmp eax, 0xffffffff
je 0x43a475
mov edx, eax
and eax, 0xf
and edx, 0xf0
shl edx, 4
or ebx, edx
add eax, 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
js 0x43a38c
jmp 0x43a439
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi]
lea eax, [edi + ebx]
and eax, 0xfff
xor ebx, ebx
lea edx, [esp + 0x1028]
mov bl, byte [eax + ecx]
push edx
push ebx
mov ecx, esi
call fcn.0043a170
mov eax, dword [esi]
inc ebp
mov byte [eax + ebp - 1], bl
mov eax, dword [esp + 0x14]
and ebp, 0xfff
inc edi
cmp edi, eax
jle 0x43a435
xor edi, edi
jmp 0x43a38c
mov eax, dword [esp + 0x3828]
cmp eax, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x43a4a0
mov ecx, dword [esp + 0x381c]
lea edx, [esp + 0x1018]
push ecx
push eax
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov ecx, dword [esp + 0x3820]
mov dword fs:[0], ecx
add esp, 0x382c
ret

Function at 0x43a670
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x402fe1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406100
cmp edx, dword [eax]
je 0x403003
add eax, 8
inc ecx
cmp eax, 0x406190
jl 0x402ff4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406100]
jne 0x403131
mov eax, dword [0x4064ac]
cmp eax, 1
je 0x40310b
test eax, eax
jne 0x403034
cmp dword [0x406054], 1
je 0x40310b
cmp edx, 0xfc
je 0x403131
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40306b
lea eax, [ebp - 0x1a4]
push 0x4053a4
push eax
call fcn.00403d60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004023b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4030ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.004023b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053a0
push edi
call fcn.00404210
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x405384
push eax
call fcn.00403d60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403d70
lea eax, [ebp - 0xa0]
push 0x405380
push eax
call fcn.00403d70
push dword [esi + 0x406104]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403d70
push 0x12010
lea eax, [ebp - 0xa0]
push 0x405358
push eax
call fcn.00404185
add esp, 0x2c
pop edi
jmp 0x403131
lea eax, [ebp + 8]
lea esi, [esi + 0x406104]
push 0
push eax
push dword [esi]
call fcn.004023b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219