joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc237
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4f9f3c]
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.00474680
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.00474680
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.00474680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00475190
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00475190
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00475190
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
Function at 0x48a3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dee80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4f9f3c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x4fdd14
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], 0x4fddf8
call fcn.0043f850
mov byte [esp + 0x38], 1
call fcn.00489574
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.0043f920
mov dword [esi], 0x4fde1c
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4bb3b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x4bb43d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00495fe0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4bb400
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4bb422
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4bb498
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.004bb108
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x4bb484
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x4bb498
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4bb3c1
pop esi
pop ebx
leave
ret
Function at 0x407a00
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
mov dword [ebp - 0x268], 0
jmp 0x407a25
mov eax, dword [ebp - 0x268]
add eax, 1
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 9
jge 0x407aef
push 0xe
push 0x53
push 0x25
push 0x15
call dword [sym.imp.GDI32.dll_GetCharWidthFloatW]
mov ecx, 0x44
sub ecx, eax
movzx edx, byte [ebp - 0x129]
add edx, 0x5e
sub edx, dword [ebp - 0xf0]
xor ecx, edx
mov byte [ebp - 0x10a], cl
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
sub eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
add eax, 0x59
mov word [ebp - 0x250], ax
movzx ecx, word [ebp - 0x1b4]
add ecx, 0xc
and ecx, 0x27
or ecx, 0x18
mov word [ebp - 0xdc], cx
movzx edx, word [ebp - 0x1cc]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x114], edx
movzx eax, word [ebp - 0x90]
mov ecx, 0x41
sub ecx, eax
movzx edx, byte [ebp - 0x1b5]
add edx, ecx
mov byte [ebp - 0x1b5], dl
movzx eax, byte [ebp - 7]
add eax, 0x13
movzx ecx, word [ebp - 0x90]
and ecx, eax
mov word [ebp - 0x90], cx
movzx edx, byte [ebp - 0xf3]
mov dword [ebp - 0xec], edx
jmp 0x407a16
movzx eax, word [ebp - 0x90]
movzx ecx, byte [ebp - 0x129]
sub ecx, eax
mov byte [ebp - 0x129], cl
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
jmp 0x4ad847
Function at 0x412b47
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424f40]
jne 0x412b51
repz ret
jmp fcn.0041640f

Function at 0x41a60c
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.00417242
and dword [ebp - 4], 0
cmp dword [0x476b38], 0
mov ebx, eax
jne 0x41a6bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a76e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41a76e
push eax
call fcn.004171d0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x476b38], eax
call esi
push eax
call fcn.004171d0
mov dword [esp], 0x41ff08
push edi
mov dword [0x476b3c], eax
call esi
push eax
call fcn.004171d0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x476b40], eax
call esi
push eax
call fcn.004171d0
pop ecx
mov dword [0x476b48], eax
test eax, eax
je 0x41a6bd
push 0x41fed4
push edi
call esi
push eax
call fcn.004171d0
pop ecx
mov dword [0x476b44], eax
mov eax, dword [0x476b44]
cmp eax, ebx
je 0x41a715
cmp dword [0x476b48], ebx
je 0x41a715
push eax
call fcn.0041724b
push dword [0x476b48]
mov esi, eax
call fcn.0041724b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a715
test edi, edi
je 0x41a715
call esi
test eax, eax
je 0x41a70c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a70c
test byte [ebp - 0xc], 1
jne 0x41a715
or dword [ebp + 0x10], 0x200000
jmp 0x41a74e
mov eax, dword [0x476b3c]
cmp eax, ebx
je 0x41a74e
push eax
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a74e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a74e
mov eax, dword [0x476b40]
cmp eax, ebx
je 0x41a74e
push eax
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a74e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x476b38]
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a76e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a770
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4d481d3b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, str.iou
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x6fdd3f69
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1002979
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x10015c8
xor esi, esi
push esi
call dword [sym.imp.msvcrt.dll_setlocale]
pop ecx
pop ecx
push esi
call fcn.01001fe4
mov ebp, dword [esp + 0x18]
mov ebx, dword [sym.imp.msvcrt.dll_malloc]
mov eax, ebp
shl eax, 2
push eax
call ebx
mov edi, eax
cmp edi, esi
pop ecx
je 0x1002a17
cmp ebp, esi
mov dword [esp + 0x18], esi
jle 0x10029f6
mov eax, dword [esp + 0x1c]
sub eax, edi
mov esi, edi
mov dword [esp + 0x10], eax
jmp 0x10029c7
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10029cd
sub eax, ecx
lea eax, [eax*4 + 4]
push eax
call ebx
test eax, eax
pop ecx
mov dword [esi], eax
je 0x1002a17
inc dword [esp + 0x18]
add esi, 4
cmp dword [esp + 0x18], ebp
jl 0x10029c3
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.01001b47
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp ebp, 1
mov dword [0x1004648], eax
jne 0x1002a1f
push esi
jmp 0x1002a2e
push 1
call dword [sym.imp.msvcrt.dll_exit]
cmp ebp, 2
jl 0x1002a54
mov eax, dword [edi + 4]
cmp word [eax], 0x5c
jne 0x1002a35
push eax
call fcn.010023cb
jmp 0x1002a59
cmp ebp, 2
jne 0x1002a3d
push esi
jmp 0x1002a45
cmp ebp, 3
jne 0x1002a4d
push dword [edi + 8]
push eax
call fcn.01002512
jmp 0x1002a59
call fcn.0100215f
jmp 0x1002a59
call fcn.010021c8
push 0x10015c4
call fcn.01002144
test ebp, ebp
mov ebx, dword [sym.imp.msvcrt.dll_free]
pop ecx
jle 0x1002a7d
push dword [edi + esi*4]
call ebx
and dword [edi + esi*4], 0
inc esi
cmp esi, ebp
pop ecx
jl 0x1002a6e
push edi
call ebx
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x402000
Capabilities:
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0
push 0x402022
push 0
push 0x25
push eax
call dword [sym.imp.USER32.DLL_DialogBoxParamA]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x417c08d6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x633a5329
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0xdf02d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdf02de
pushal
call 0xdf02e4
pop ebp
sub ebp, 0x10
sub ebp, 0x9f02d4
jmp 0xdf02fa
mov eax, 0x9f02d4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b8
mov edx, 0x537394a2
xor byte [eax], dl
inc eax
dec ecx
jne 0xdf0311
jmp 0xdf0324
sub dword [edi + 0x29], ebp
sub ebx, dword [esi + 0x23a2a2a2]
arpl word [edx - 0x5e], bx
mov byte [0x1a6fa1a2], al
movsd dword es:[edi], dword [esi]
mov byte [0x8a18a2a2], al
mov byte [0x4055a2a2], al
mov eax, dword [0xae23296a]
mov byte [0x67a1a2a2], al
das
mov byte [esi - 0x7959d4a2], 0x2f
mov byte [esi - 0x7959d4a2], 0xca
push ds
or dword [ebx - 0xa4b355e], eax
fbld tbyte [edx - 0x3579715d]
std
pop ecx
shl byte [edx + ecx*2 - 0x59], cl
mov byte [0x8c4ba2a2], al
mov byte [0xf6f7a2a2], al
jmp [ecx]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x14423d0e
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x2af7446f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x58364236
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
mov ecx, 0x4aaa5041
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40e220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40e242
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e238
mov eax, 1
add ebx, ebx
jne 0x40e25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e250
jne 0x40e26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e250
xor ecx, ecx
sub eax, 3
jb 0x40e280
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e2f2
mov ebp, eax
add ebx, ebx
jne 0x40e28b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e298
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e2bc
inc ecx
add ebx, ebx
jne 0x40e2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e29d
jne 0x40e2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e29d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e2cd
jmp 0x40e23e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e2dc
add edi, ecx
jmp 0x40e23e
pop esi
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e33b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12908]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12958]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e2f9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12960]
or eax, eax
je 0x40e335
mov dword [ebx], eax
add ebx, 4
jmp 0x40e316
call dword [esi + 0x1295c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40e36c
cmp al, 0xef
ja 0x40e35f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40e341
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40e34e
mov ebp, dword [esi + 0x12964]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40e3a0
sub esp, 0xffffff80
jmp 0x4011fc
Function at 0x44212d
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 0x44215b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442179
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00442097
jmp 0x442179
mov eax, dword [esi + 0x14]
test eax, eax
je 0x442179
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00442097
test edi, edi
mov eax, edi
jne 0x442163
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56c32c]
test ecx, ecx
je 0x44222c
jmp 0x44212c
ret 8

Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [section..bss], eax
push 0
push 0x401027
push 0
push 1
push eax
call dword [sym.imp.USER32.DLL_DialogBoxParamA]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401508
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x28], 1
push eax
push 0x104
mov word [ebp - 0x24], 5
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x25c]
push eax
call esi
xor edi, edi
cmp word [ebp + eax*2 - 0x25e], 0x5c
jne 0x401577
lea eax, [ebp - 0x25c]
push eax
call esi
mov word [ebp + eax*2 - 0x25e], di
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x25c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
pop edi
neg eax
sbb eax, eax
pop esi
inc eax
leave
ret

Function at 0x4015a5
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x403064
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x4015bf
pop esi
ret
push edi
push 0
push 0x13f10d
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov edi, dword [esp + 0x1c]
push 0xc
pop ecx
xor eax, eax
push esi
push 0x30
rep stosd dword es:[edi], eax
push 1
pop edi
push edi
push dword [esp + 0x28]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0x30
je 0x4015f4
xor edi, edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x401601
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0
push dword [esp + 0x1c]
shr ecx, 2
push dword [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x10
cmp eax, 0xffffffff
je 0x401652
push dword [esp + 0x10]
push esi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x40165e
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
jmp 0x401660
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x402680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x42a228]
lea ecx, [esp + 8]
call dword [0x42a1f0]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4027b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426329
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 8], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager_1]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov esi, dword [esp + 0x24]
test esi, esi
mov dword [esp + 0x14], 0
jne 0x4027fb
xor eax, eax
jmp 0x402805
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov ecx, dword [edi]
push eax
mov eax, dword [ecx - 0xc]
push esi
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate_1]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret