joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4198f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x41a940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0798
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x4c]
call fcn.004198f0
lea ecx, [ebp - 0x40]
call fcn.004095b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0x600a1c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057b70c
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41a9d6
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409620
mov edx, dword [ebp - 0x48]
or edx, 1
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00409660
mov eax, dword [ebp + 8]
jmp 0x41aacd
mov eax, dword [ebp - 0x10]
push eax
call fcn.0057b5de
add esp, 4
test eax, eax
jne 0x41aa6e
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x5c]
push eax
push 1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x58]
push edx
call fcn.0057b163
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0057b612
add esp, 4
test eax, eax
je 0x41aa56
lea ecx, [ebp - 0x40]
call fcn.0041abf0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0057b511
add esp, 4
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409620
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00409660
mov eax, dword [ebp + 8]
jmp 0x41aacd
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0041a740
jmp 0x41a9d6
cmp dword [ebp - 0x10], 0
je 0x41aa80
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0057b511
add esp, 4
mov byte [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov word [ebp - 0x17], dx
mov byte [ebp - 0x15], dl
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0041a870
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.0041aaf0
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00409660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret 8
Function at 0x41afd0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.0057e200
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x208], 0
push 0xff
push 0
lea edx, [ebp - 0x207]
push edx
call fcn.0057e200
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x208]
push eax
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.0057b915
add esp, 0x14
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret
Function at 0x41b560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add eax, 0xf0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x120]
test edx, edx
je 0x41b5a0
push 0
push 0x400
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00581380
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x118]
add eax, dword [ebp + 8]
mov ecx, dword [edx + 0x11c]
adc ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x118], eax
mov dword [edx + 0x11c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x11c]
cmp ecx, dword [eax + 0x114]
jl 0x41b618
jg 0x41b5fa
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x118]
cmp ecx, dword [eax + 0x110]
jbe 0x41b618
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x110]
mov dword [edx + 0x118], ecx
mov eax, dword [eax + 0x114]
mov dword [edx + 0x11c], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x12c], 0
je 0x41b68f
push 0xc
call fcn.0047bb48
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
call fcn.0041b6b0
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
call fcn.0041b6d0
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x118]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
push 0
lea eax, [ebp - 4]
push eax
push 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0047bb77
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xf0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret 8
Function at 0x41c180
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2566
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x629af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._down_file
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401010
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41c1cc
xor eax, eax
jmp 0x41c2e8
mov eax, 1
imul eax, eax, 0xb
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], str.default_name
push 0x2f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0057a9e0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41c201
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push str._file
lea ecx, [ebp - 0x1c]
push ecx
push str.url
mov ecx, dword [ebp - 0x13c]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ea00
mov ecx, eax
call fcn.0040eb00
mov ecx, eax
call fcn.0040ea00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.0042ad30
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004158b0
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push str.CurlDwonFileNoCall_ret
mov ecx, dword [ebp - 0x144]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ead0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.0042ad30
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c7a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c15fb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x629af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push str..SystemMAT.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..SystemUser.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x1f4
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3f8], eax
mov ecx, dword [ebp - 0x18]
call fcn.0041c720
mov ecx, dword [ebp - 0x18]
call fcn.0041cf30
movzx eax, al
test eax, eax
je 0x41c84d
push 0
push 0x30
push 0x600354
call fcn.0047ffdf
push 1
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0047d6fd
mov ecx, eax
call fcn.0047d920
push 1
push 0x3f3
mov ecx, dword [ebp - 0x18]
call fcn.0047d6fd
mov ecx, eax
call fcn.0047d920
jmp 0x41c8b0
push 0x18
call fcn.0047bb48
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x41c874
mov ecx, dword [ebp - 0x14]
call fcn.004196b0
mov dword [ebp - 0x1c], eax
jmp 0x41c87b
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3f4], 0
jne 0x41c8a2
jmp 0x41c8b0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x3f4]
call fcn.00429ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41cd90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c12a1
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004098a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004099f0
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00409860
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x26c]
call fcn.00409900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.004098e0
mov dword [ebp - 0x10], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
je 0x41ceed
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41cee0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
push eax
lea ecx, [ebp - 0x288]
call fcn.00409860
mov byte [ebp - 4], 2
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00419160
add esp, 8
movzx edx, al
test edx, edx
je 0x41ceba
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.004098e0
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41ce77
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.004098e0
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret 4
Function at 0x420c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x24]
imul edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], edx
cmp dword [ebp + 0xc], 0
jne 0x420c48
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.0041eac0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x420cfb
cmp dword [ebp + 8], 0
jne 0x420cbc
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047bb82
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
shl edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0057de50
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041eb00
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
push 0
call fcn.004016d0
push ecx
mov ecx, esp
push 0x5fde48
call fcn.004016d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
push ecx
call fcn.0041dac0
add esp, 0x18
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057ca18
add esp, 0x10
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
cmp dword [ebp - 4], 0
je 0x420d3b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047bb77
add esp, 4
movzx eax, byte [ebp - 5]
test eax, eax
je 0x420d96
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
cdq
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
adc ecx, edx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
push ecx
push 0x18
mov edx, dword [ebp - 0x24]
add edx, 0x2c
push ecx
mov ecx, esp
push edx
call fcn.0041d8c0
push ecx
mov ecx, esp
push 0x5fde60
call fcn.004016d0
mov eax, dword [ebp - 0x24]
add eax, 0x28
push eax
call fcn.0041dac0
add esp, 0x18
jmp 0x420d9e
mov ecx, dword [ebp - 0x24]
call fcn.00420280
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8
Function at 0x427320
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x8c], 0
jne 0x42733c
xor eax, eax
jmp 0x427441
mov ecx, dword [ebp - 0x10]
call fcn.004285b0
test eax, eax
je 0x427396
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp - 0x10]
push edx
push 0x427a80
push 0
push 0
call fcn.0057cbd2
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xa8], 0
jne 0x427381
xor eax, eax
jmp 0x427441
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x42743f
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xb0], 0
je 0x42743f
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb0]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
push 0
mov edx, dword [ebp - 0xc]
neg edx
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x64]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x20]
call ecx
test eax, eax
jne 0x42743f
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004268b0
mov eax, 1
jmp 0x427441
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x427450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041b960
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42748f
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041b960
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x427496
xor eax, eax
jmp 0x427555
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041b960
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4274cf
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x427555
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4274f5
cmp dword [ebp - 4], 0
jne 0x42750d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x427555
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0057de50
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00426c90
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x429ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x429b09
or eax, 0xffffffff
jmp 0x429b37
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x429ab0
push 0
push 0
call fcn.0057cbd2
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
neg eax
sbb eax, eax
neg eax
sub eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42adc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1bbe
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x629af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 1
mov ecx, dword [ebp - 0xa4]
call fcn.0042c030
mov dword [ebp - 4], 0
push 0x5fa518
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401010
add esp, 8
test eax, eax
je 0x42ae30
push 0x40
push 2
push str.._MatRepairCar.log
mov ecx, dword [ebp - 0xa4]
call fcn.0042c150
jmp 0x42ae44
push 0x40
push 2
push 0x5fa548
mov ecx, dword [ebp - 0xa4]
call fcn.0042c150
push 0x3f
push 0x5fa568
lea ecx, [ebp - 0x10]
call fcn.00429ec0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa4]
add ecx, dword [eax + 4]
call fcn.0042b180
lea ecx, [ebp - 0x14]
call fcn.00401e50
mov ecx, dword [ebp - 0xa4]
add ecx, 0x88
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.0042af50
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 2
push str.19:28:10
push 0x5fa5a8
push str.Dec__6_2017
push 0x5fa56c
mov ecx, dword [ebp - 0xac]
call fcn.0040ec50
mov ecx, eax
call fcn.0040eb00
mov ecx, eax
call fcn.0040eb00
mov ecx, eax
call fcn.0040eb00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.0042ad30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42da20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x3c], 0
je 0x42da60
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x42da6c
mov al, 1
jmp 0x42dc14
mov dword [ebp - 0x10], 8
call fcn.004015d0
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
call eax
mov word [ebp - 0x3a], ax
call fcn.004015d0
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3a]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00429bf0
add esp, 8
movzx eax, al
test eax, eax
je 0x42dab4
xor al, al
jmp 0x42dc14
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0042d050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041ad30
mov ecx, eax
call fcn.0042dd30
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00409a10
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041ad30
mov ecx, eax
call fcn.0042dd30
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0x3c]
call fcn.0042a2e0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x42db2f
cmp dword [ebp - 0x68], 1
je 0x42db36
cmp dword [ebp - 0x68], 3
je 0x42dbd0
jmp 0x42dbe8
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x42], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041ad30
mov ecx, eax
call fcn.0042dd30
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42db99
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041ad30
mov ecx, eax
call fcn.0042dd30
push eax
call fcn.0057ca18
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42db99
mov byte [ebp - 0x5d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409660
mov al, byte [ebp - 0x5d]
jmp 0x42dc14
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x42dbbc
mov byte [ebp - 0x5e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409660
mov al, byte [ebp - 0x5e]
jmp 0x42dc14
cmp dword [ebp - 0x38], 0
jne 0x42dbce
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040af80
jmp 0x42dc00
mov byte [ebp - 0x5f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409660
mov al, byte [ebp - 0x5f]
jmp 0x42dc14
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409660
mov al, byte [ebp - 0x60]
jmp 0x42dc14
jmp 0x42dac7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret