joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498285
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49839d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49839d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cb0f1
mov esi, eax
test esi, esi
je 0x49839d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49839d
mov ecx, esi
call fcn.00498210
cmp edi, eax
jge 0x49839d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x498323
mov dword [esp + 0x34], 1
jmp 0x49837e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49839d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00497760
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x49cfe0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x548544]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x49cff3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x49d034
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5485ec]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x49d066
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49d06a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x49d05b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x49d088
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49d08c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x49d07d
xor ecx, ecx
mov eax, 0x548554
xor ebx, ebx
mov bl, byte [ecx + 0x5485fc]
cmp byte [esp + ebx + 0x14], 0
je 0x49d0b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x548614]
cmp byte [esp + ebx + 0x14], 0
je 0x49d0ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x49d09e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x49d027
lea edx, [esp + 0x84]
push edx
call fcn.0049d110
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4a5920
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4a5930
mov esi, 1
push esi
call fcn.004b68b7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a5982
call fcn.004b73bd
mov edi, eax
call fcn.004a8470
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4a5966
mov edx, dword [0x54cd98]
mov dword [0x54cd94], edx
test al, 0x18
je 0x4a5977
push esi
push 0x24
push 5
call fcn.004a8cc0
add esp, 0xc
test edi, edi
je 0x4a599d
push 1
call fcn.004b81a5
test byte [esp + 0x14], 0x20
je 0x4a599d
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4a6aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4a6b94
cmp byte [edx], 0
je 0x4a6b87
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004a6a20
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004a6a20
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004a6990
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4a6b51
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004a69d0
fmul qword [0x52cb30]
push ecx
fstp qword [esp]
call fcn.004b5228
fadd qword [0x52cb28]
add esp, 8
call fcn.004b52f8
mov byte [ebx], al
inc ebx
dec edi
jne 0x4a6b24
lea ecx, [esp + 0x20]
push ecx
call fcn.004a69d0
fmul qword [0x52cb30]
push ecx
fstp qword [esp]
call fcn.004b5228
add esp, 8
call fcn.004b52f8
cmp esi, ebx
je 0x4a6b7d
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4a6b76
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4a6f90
mov byte [edi + esi], 2
jmp 0x4a6fc7
test al, 4
je 0x4a6f9a
mov byte [edi + esi], 0xd
jmp 0x4a6fc7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4a6fb3
mov byte [edi + esi], 2
jmp 0x4a6fc7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4a6fc3
mov byte [edi + esi], 0x19
jmp 0x4a6fc7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4a6f77
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4a703b
cmp dl, 0xd
je 0x4a703b
xor edx, edx
jmp 0x4a7040
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4a702b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4a7060
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004a5920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a7081
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004a86b0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4a70a6
push esi
call fcn.004a59b0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004c10fc
push ebx
push edi
mov ebp, eax
call fcn.004a8720
push 0x4a70e0
push ebp
push esi
call fcn.004a9a50
push esi
call fcn.004a59b0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4a83e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x623f20
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x623e54]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4a845b
push 0x4c
push 1
call fcn.004b77e5
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8423
push 0x623f20
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x623e54]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x619304]
inc eax
lea edx, [esi + 0xc]
mov dword [0x619304], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004abf60
add esp, 8
mov byte [esi + 0x3c], 1
push 0x623f20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4a88e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004b73bd
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004c10fc
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4a89da
call fcn.004b73bd
cmp dword [eax], 0
je 0x4a8927
call fcn.004b73bd
mov ebp, dword [eax]
jmp 0x4a892a
or ebp, 0xffffffff
call fcn.004a8470
test esi, esi
mov dword [eax], ebp
jne 0x4a893f
call fcn.004b73bd
cmp dword [eax], 4
je 0x4a898f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4a8972
cmp esi, 0xffffffff
je 0x4a89b4
test al, 6
je 0x4a8972
call fcn.004a8470
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004abf90
add esp, 4
push eax
push 0x24
push 9
call fcn.004a8cc0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4a89d2
test al, 6
je 0x4a8980
test ah, 2
je 0x4a89d2
test esi, esi
jbe 0x4a89de
test ah, 2
je 0x4a89de
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004b73bd
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004c10fc
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4a89da
jmp 0x4a8914
call fcn.004a8470
mov eax, dword [eax]
push eax
push ebx
call fcn.004abf90
add esp, 4
push eax
push 0x24
push 2
call fcn.004a8cc0
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4a89eb
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4a89f4
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4b9624
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b9644
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004b734a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4b9667
test byte [esp + 8], 2
je 0x4b9667
call fcn.004b73bd
mov dword [eax], 0xd
call fcn.004b73c6
mov dword [eax], 5
jmp 0x4b9640
xor eax, eax
ret
Function at 0x4cba95
Capabilities:
Get graphical window text

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

Function at 0x4cd18f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cd1d1
call fcn.004d2c3f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cd1d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cd1c8
xor eax, eax
jmp 0x4cd1d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cd1df
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d316f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d319d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d31bb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d30d5
jmp 0x4d31bb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d31bb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d30d5
test edi, edi
mov eax, edi
jne 0x4d31a5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4ad5c8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4ad5cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
call fcn.00401000
mov eax, dword [0x4ad5d0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4ad5d4]
add ebx, 0x23f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x4bc80c], 0xc
mov dword [ebp - 4], eax
jne 0x401080
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, dword [0x4bc80c]
cmp eax, 0xfa9
jne 0x40109c
mov dword [0x4bc808], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010be
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x4bc760], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov edx, edi
lea eax, [ebx + edi]
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x4bc804], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x401054
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x407fdf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4acd70]
jne 0x407fe9
repz ret
jmp fcn.0040c2c2

Function at 0x40a778
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404b97
and dword [ebp - 4], 0
cmp dword [0x4b17f8], 0
mov ebx, eax
jne 0x40a829
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a8da
push eax
call fcn.00404b25
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b17f8], eax
call esi
push eax
call fcn.00404b25
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b17fc], eax
call esi
push eax
call fcn.00404b25
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b1800], eax
call esi
push eax
call fcn.00404b25
pop ecx
mov dword [0x4b1808], eax
test eax, eax
je 0x40a829
push 0x4a8f28
push edi
call esi
push eax
call fcn.00404b25
pop ecx
mov dword [0x4b1804], eax
mov eax, dword [0x4b1804]
cmp eax, ebx
je 0x40a881
cmp dword [0x4b1808], ebx
je 0x40a881
push eax
call fcn.00404ba0
push dword [0x4b1808]
mov esi, eax
call fcn.00404ba0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a881
test edi, edi
je 0x40a881
call esi
test eax, eax
je 0x40a878
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a878
test byte [ebp - 0xc], 1
jne 0x40a881
or dword [ebp + 0x10], 0x200000
jmp 0x40a8ba
mov eax, dword [0x4b17fc]
cmp eax, ebx
je 0x40a8ba
push eax
call fcn.00404ba0
pop ecx
test eax, eax
je 0x40a8ba
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a8ba
mov eax, dword [0x4b1800]
cmp eax, ebx
je 0x40a8ba
push eax
call fcn.00404ba0
pop ecx
test eax, eax
je 0x40a8ba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b17f8]
call fcn.00404ba0
pop ecx
test eax, eax
je 0x40a8da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a8dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret

Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret
Function at 0x10004375
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x100043c2
cmp byte [esi + 0x3d], bl
je 0x100043c2
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100043f1
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x100043c9
sub eax, 1
je 0x100043cc
dec eax
sub eax, 1
jne 0x100043f1
mov byte [esi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100043e9
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10061e51
add esp, 0x10
cmp edi, eax
jne 0x100043f1
cmp byte [esi + 0x3d], bl
sete al
jmp 0x100043c4
xor al, al
jmp 0x100043c4

Function at 0x10006351
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x1000636b
xor eax, eax
jmp 0x1000643b
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x10006399
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x10006399
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x1000643a
cmp dword [esi + 0x4c], 0
je 0x10006438
mov ecx, esi
call fcn.10004996
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100063c5
push dword [esi + 0x4c]
push eax
call fcn.10001f8d
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x10006438
mov byte [esp + 0x10], al
lea eax, [esp + 0x3c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10006409
sub eax, 1
je 0x10006409
dec eax
sub eax, 1
jne 0x10006438
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x100063b7
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x18]
sub ebp, eax
je 0x10006428
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.10061e51
add esp, 0x10
cmp ebp, eax
jne 0x10006438
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
mov eax, ebx
jne 0x1000643a
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4