joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4183c0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
imul esi, esi, 0x1008
add esi, dword [0x464bc0]
push edi
cmp dword [esi + 0x804], 0
mov dword [esp + 8], 0
je 0x418576
mov edi, 1
cmp dword [esi + 0x808], edi
jl 0x418576
push ebp
lea eax, [esp + 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x453c44
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x10]
push 0x1000
push eax
call fcn.0040a5e0
mov ebp, eax
add esp, 8
test ebp, ebp
jge 0x41845e
mov dword [esp + 0xc], edi
jmp 0x41853a
push ebx
push 0x4000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x418482
mov dword [esp + 0x10], edi
jmp 0x41851b
mov ecx, dword [esi + 0x804]
mov edx, dword [0x460004]
push 0
push ecx
push edx
call fcn.0040a650
add esp, 0xc
cmp eax, dword [esi + 0x804]
je 0x4184a8
mov dword [esp + 0x10], edi
jmp 0x41851b
mov edi, dword [esi + 0x808]
test edi, edi
jle 0x4184ea
cmp edi, 0x4000
mov esi, edi
jl 0x4184c1
mov esi, 0x4000
mov eax, dword [0x460004]
push esi
push ebx
push eax
call fcn.0040a670
add esp, 0xc
cmp eax, esi
jne 0x418513
push esi
push ebx
push ebp
call fcn.0040a6a0
add esp, 0xc
cmp eax, esi
jne 0x418513
sub edi, esi
test edi, edi
jg 0x4184b2
push ebp
call fcn.0040a630
add esp, 4
or ebp, 0xffffffff
test eax, eax
jne 0x418513
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00417af0
add esp, 8
test eax, eax
je 0x41851b
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x418539
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
cmp ebp, 0xffffffff
jle 0x418548
push ebp
call fcn.0040a630
add esp, 4
cmp byte [esp + 0x10], 0
pop ebp
je 0x41855b
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043b3fc
add esp, 0x210
ret
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0043b3fc
add esp, 0x210
ret
Function at 0x4284f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push 1
lea eax, [esp + 0xb]
push 1
push eax
call fcn.0043d993
add esp, 0x10
cmp eax, 1
jne 0x428517
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 8]
mov dword [edx], ecx
xor eax, eax
pop ecx
ret
push esi
call fcn.0043e223
add esp, 4
neg eax
sbb eax, eax
pop ecx
ret

Function at 0x428600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
push 2
push 0
mov ebp, 0xffff
push esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
call fcn.0043e4df
add esp, 0xc
test eax, eax
je 0x428633
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
push edi
push esi
call fcn.0043e3ea
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x14], edi
jae 0x42864d
mov dword [esp + 0xc], edi
mov ebp, eax
push 0x404
call fcn.0043d0fe
mov esi, eax
add esp, 4
test esi, esi
jne 0x428667
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, 4
cmp ebp, ebx
jbe 0x428716
jmp 0x428688
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea eax, [ebx + 0x400]
cmp eax, ebp
mov ebx, ebp
ja 0x428696
mov ebx, eax
mov ebp, edi
sub ebp, ebx
mov eax, edi
sub eax, ebp
cmp eax, 0x404
mov edi, 0x404
ja 0x4286ac
mov edi, eax
mov eax, dword [esp + 0x20]
push 0
push ebp
push eax
call fcn.0043e4df
add esp, 0xc
test eax, eax
jne 0x428716
mov ecx, dword [esp + 0x20]
push ecx
push 1
push edi
push esi
call fcn.0043d993
add esp, 0x10
cmp eax, 1
jne 0x428716
lea eax, [edi - 3]
test eax, eax
jle 0x42870c
lea ecx, [ecx]
sub eax, 1
cmp byte [eax + esi], 0x50
jne 0x4286fe
cmp byte [eax + esi + 1], 0x4b
jne 0x4286fe
cmp byte [eax + esi + 2], 5
jne 0x4286fe
cmp byte [eax + esi + 3], 6
je 0x428704
test eax, eax
jg 0x4286e0
jmp 0x42870c
add eax, ebp
mov dword [esp + 0x14], eax
jne 0x428716
cmp ebx, dword [esp + 0x10]
jb 0x428680
push esi
call fcn.0043d021
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x428d30
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0
jne 0x428d53
mov eax, 0xffffff9a
add esp, 8
ret
push esi
mov esi, dword [eax + 0x7c]
test esi, esi
jne 0x428d65
mov eax, 0xffffff9a
pop esi
add esp, 8
ret
cmp dword [esi], 0
jne 0x428d74
mov eax, 0xffffff9c
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x428d83
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp ecx, eax
mov dword [esi + 0x14], ecx
jbe 0x428d97
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], 0
push ebx
push ebp
push edi
jbe 0x428eb1
cmp dword [esi + 8], 0
jne 0x428e0a
mov eax, dword [esi + 0x58]
test eax, eax
jbe 0x428e0a
mov edi, 0x4000
cmp eax, edi
jae 0x428dc4
mov edi, eax
test edi, edi
je 0x428ebd
mov ecx, dword [esi + 0x68]
add ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x60]
push 0
push ecx
push edx
call fcn.0043e4df
add esp, 0xc
test eax, eax
jne 0x428ec7
mov eax, dword [esi + 0x60]
mov ecx, dword [esi]
push eax
push 1
push edi
push ecx
call fcn.0043d993
add esp, 0x10
cmp eax, 1
jne 0x428ec7
mov edx, dword [esi]
add dword [esi + 0x3c], edi
sub dword [esi + 0x58], edi
mov dword [esi + 4], edx
mov dword [esi + 8], edi
cmp dword [esi + 0x64], 0
jne 0x428e61
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 8]
cmp eax, edi
jae 0x428e1c
mov edi, eax
xor eax, eax
test edi, edi
jbe 0x428e35
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
mov edx, dword [esi + 0x10]
mov byte [eax + edx], cl
add eax, 1
cmp eax, edi
jb 0x428e22
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x50]
push edi
push edx
push eax
call fcn.00429d60
sub dword [esi + 0x5c], edi
sub dword [esi + 8], edi
sub dword [esi + 0x14], edi
add dword [esi + 0x10], edi
add dword [esi + 4], edi
add dword [esi + 0x18], edi
add esp, 0xc
add dword [esp + 0x10], edi
mov dword [esi + 0x50], eax
jmp 0x428ea0
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x10]
lea ecx, [esi + 4]
push 2
push ecx
call fcn.00429980
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x50]
sub edi, ebx
push edi
push ebp
push edx
mov dword [esp + 0x28], eax
call fcn.00429d60
sub dword [esi + 0x5c], edi
add dword [esp + 0x24], edi
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 1
je 0x428eb1
test eax, eax
jne 0x428ed2
cmp dword [esi + 0x14], 0
ja 0x428da4
cmp dword [esp + 0x14], 0
jne 0x428ed2
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 8
ret
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4292e0
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 0x14
push ebp
push esi
xor esi, esi
push edi
push 0x4000
mov edi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
call fcn.0043d0fe
mov ebp, eax
add esp, 4
cmp ebp, esi
jne 0x429319
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret
push ebx
push esi
push 0x80
push 1
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x40000000
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4293b2
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42942c
push edi
lea ecx, [esp + 0x18]
call fcn.00429240
add esp, 4
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [esp + 0x2c]
jne 0x42938f
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x30]
jne 0x42938f
mov dword [esp + 0x10], 0
jmp 0x429434
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42942c
mov esi, dword [esp + 0x28]
push esi
call fcn.00429120
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42942c
push 0x4000
push ebp
push esi
mov dword [esp + 0x28], 1
call fcn.00428d30
mov edi, eax
add esp, 0xc
test edi, edi
jl 0x42942c
je 0x429434
xor esi, esi
test edi, edi
jbe 0x429413
lea esp, [esp]
push 0
lea edx, [esp + 0x1c]
push edx
mov eax, edi
sub eax, esi
push eax
lea ecx, [esi + ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42942c
add esi, dword [esp + 0x18]
cmp esi, edi
jb 0x4293f0
mov edx, dword [esp + 0x28]
push 0x4000
push ebp
push edx
call fcn.00428d30
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4293e4
mov dword [esp + 0x10], 1
push ebp
call fcn.0043d021
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x429451
mov eax, dword [esp + 0x28]
push eax
call fcn.00428ee0
add esp, 4
test ebx, ebx
je 0x429461
cmp ebx, 0xffffffff
je 0x429461
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x429d60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x429d6b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x429e67
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x429d90
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x454198]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x429d90
pop ebp
test edi, edi
je 0x429e8c
jmp 0x429e70
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x454198]
add ecx, 1
sub edi, 1
jne 0x429e70
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x42aad0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x42aaec
pop edi
mov eax, 1
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x42abfc
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x42ab0f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x42abbb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x42ab30
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x42ab30
test eax, eax
je 0x42abcf
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x42abc0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x42ab00
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x43b3fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4630b0]
jne 0x43b406
repz ret
jmp fcn.00441139

Function at 0x44e9c3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043f6ad
xor ebx, ebx
cmp dword [0x465db4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44ea98
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44ea03
xor eax, eax
jmp 0x44eb5c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45d398
push edi
call esi
cmp eax, ebx
je 0x44e9fc
push eax
call fcn.0043f64a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x465db4], eax
call esi
push eax
call fcn.0043f64a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x465db8], eax
call esi
push eax
call fcn.0043f64a
mov dword [0x465dbc], eax
lea eax, [ebp - 8]
push eax
call fcn.00444b5e
test eax, eax
pop ecx
pop ecx
je 0x44ea66
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043fd7b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44ea98
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043f64a
cmp eax, ebx
pop ecx
mov dword [0x465dc4], eax
je 0x44ea98
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043f64a
pop ecx
mov dword [0x465dc0], eax
mov eax, dword [0x465dc0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44eb11
cmp dword [0x465dc4], esi
je 0x44eb11
push eax
call fcn.0043f6b6
pop ecx
call eax
cmp eax, ebx
je 0x44eade
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x465dc4]
call fcn.0043f6b6
pop ecx
call eax
test eax, eax
je 0x44eade
test byte [ebp - 0x18], 1
jne 0x44eb11
lea eax, [ebp - 0xc]
push eax
call fcn.00444b95
test eax, eax
pop ecx
je 0x44eaf9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043fd7b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44eb08
or dword [ebp + 0x10], 0x200000
jmp 0x44eb42
or dword [ebp + 0x10], 0x40000
jmp 0x44eb42
mov eax, dword [0x465db8]
cmp eax, esi
je 0x44eb42
push eax
call fcn.0043f6b6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44eb42
mov eax, dword [0x465dbc]
cmp eax, esi
je 0x44eb42
push dword [ebp - 4]
push eax
call fcn.0043f6b6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x465db4]
call fcn.0043f6b6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414550
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41456a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414571
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414560
mov eax, 1
add ebx, ebx
jne 0x414583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414578
jne 0x414594
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414578
xor ecx, ecx
sub eax, 3
jb 0x4145a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41461a
mov ebp, eax
add ebx, ebx
jne 0x4145b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4145c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4145e4
inc ecx
add ebx, ebx
jne 0x4145d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4145c5
jne 0x4145e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4145c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414604
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4145f5
jmp 0x414566
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414604
add edi, ecx
jmp 0x414566
pop esi
mov edi, esi
mov ecx, 0x38b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414622
cmp byte [edi], 6
jne 0x414622
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414627
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x41469f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414654
mov ecx, edi
jns 0x414683
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x140e0]
or eax, eax
je 0x414699
mov dword [ebx], eax
add ebx, 4
jmp 0x414671
call dword [esi + 0x140dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4146d0
cmp al, 0xef
ja 0x4146c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4146a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4146b2
mov ebp, dword [esi + 0x140e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414704
sub esp, 0xffffff80
jmp 0x402fa7
Function at 0x4265d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x426630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x426627
mov edx, dword [0x494a00]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42661b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x426600
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x426629
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42cc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x42ccac
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x42ccf3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00456cd8
add esp, 8
test eax, eax
jne 0x42ccf1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x42ccf5
jmp 0x42cca3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x439fb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x4862f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004354c0
add esp, 4
movzx edx, al
test edx, edx
je 0x43a041
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0044bb80
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x43a03f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x43a03f
jmp 0x43a041
jmp 0x439fc3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c2d5
mov esp, ebp
pop ebp
ret
Function at 0x43cef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460ec7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4862f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b650
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043b650
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043b650
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043c8f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043c8f0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043c8f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4