joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
push eax
push esi
push 0x135
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4086b7
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [edi + 0x10]
test bl, 1
mov dword [esp + 0x1c], ebx
push 0xf
je 0x4086ce
push 0xa
lea edx, [esp + 0x14]
push edx
jmp 0x4086d5
push 5
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
mov edx, dword [edi + 0x14]
push 0x100
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test bl, 4
je 0x408776
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf0f0f0
push esi
call ebx
lea eax, [esp + 0x20]
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408710
push 0x25
lea ecx, [esp + 0x10]
push ecx
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
mov eax, 1
add dword [esp + 0x10], eax
add dword [esp + 0xc], eax
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
push 0x787878
push esi
call ebx
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408755
push 0x25
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
mov ebx, dword [esp + 0x1c]
jmp 0x40879f
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408780
push 0x25
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
test bl, 0x10
je 0x4087c5
mov eax, 3
add dword [esp + 0x10], eax
add dword [esp + 0xc], eax
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0043afd6
mov esp, ebp
pop ebp
ret
Function at 0x40d3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d3b7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d3e8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40d3e4
cmp esi, eax
jae 0x40d3e8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x40d3d4
cmp esi, eax
jb 0x40d3ee
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40d660
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x104
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x5a1328]
push ebx
mov ebx, dword [0x5a1b74]
push 0xa
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x40d6a7
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0043afd6
add esp, 0x104
ret
mov ecx, dword [0x5a1328]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d68f
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0xff
push 0
push 0x5a1228
mov esi, eax
call fcn.0043e120
mov edx, dword [0x5a1328]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 0xc
push 0xfe
push 0x5a1228
push 0x90
push edx
call edi
mov dword [0x59de00], 0x5a1228
cmp word [esi + 6], 0
je 0x40d70c
call fcn.00401d80
test ebx, ebx
jne 0x40d76e
movzx ecx, word [esi + 2]
mov ax, word [esi]
mov word [0x59c2cc], cx
movsx ecx, cx
mov word [0x59c2ca], ax
movsx eax, ax
lea edx, [ecx - 0x28]
add ecx, 0xffffffe2
mov dword [0x59dcf0], eax
mov dword [0x59dd08], eax
mov dword [0x59dd1c], eax
mov dword [0x59dcf4], edx
mov dword [0x59dda4], ecx
movzx eax, word [esi + 4]
imul eax, eax, 0x3e8
push eax
push ebx
push 0x401ef0
mov dword [0x5a1b64], 1
call fcn.0043ae91
add esp, 0xc
push 0xff
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0043e120
mov eax, dword [0x5a1328]
add esp, 0xc
push 0xfe
lea edx, [esp + 0x10]
push edx
push 0x70
push eax
call edi
test ebx, ebx
pop edi
pop esi
je 0x40d7ab
lea ecx, [esp + 4]
push ecx
call fcn.0043b454
add esp, 4
jmp 0x40d7b4
lea ebx, [esp + 4]
call fcn.00401ff0
mov ecx, dword [esp + 0x104]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043afd6
add esp, 0x104
ret
Function at 0x40dee0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, ecx
cmp word [esi], 0x5c
je 0x40df22
cmp word [esi + 2], 0x3a
je 0x40df22
push 0x5a1028
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x40df2e
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 7
push 1
push 0
push 1
push 0x40000000
lea eax, [esp + 0x20]
push eax
call fcn.0044c8b0
mov esi, eax
cmp esi, 0xffffffff
je 0x40df8a
mov edx, dword [esp + 0x410]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push edi
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x5a0dec
push 0x5a0de4
push 0x5a0ddc
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x408]
pop esi
xor ecx, esp
call fcn.0043afd6
add esp, 0x408
ret
Function at 0x40e690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e948
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, 0x59ff64
lea esi, [esp + 0xc]
call fcn.0040eba0
mov edi, 1
mov dword [esp + 0x30], edi
lea eax, [esp + 0x10]
push eax
call fcn.00402dd0
mov byte [esp + 0x30], 2
cmp dword [ebp + 8], 0
je 0x40e744
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], edi
mov esi, dword [eax - 0xc]
jle 0x40e704
mov ecx, esi
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0040b160
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
push esi
push eax
call fcn.0043b26b
mov edx, dword [esp + 0x1c]
add esp, 0x10
test edx, edx
jne 0x40e722
xor eax, eax
jmp 0x40e734
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e727
sub eax, esi
js 0x40e7a9
cmp eax, dword [edx - 8]
jg 0x40e7a9
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0xc]
mov byte [eax + ecx], 0
push 0x457a24
push 0x457a24
lea edx, [esp + 0x14]
push edx
call fcn.0040a090
test ebx, ebx
mov eax, dword [esp + 0xc]
je 0x40e818
cmp dword [eax - 0xc], 0
mov esi, vtable._com_error.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
je 0x40e7b3
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 3
lea edi, [esp + 0x14]
call fcn.0040e280
mov ecx, dword [esp + 0xc]
push eax
push ebx
push ecx
push str._s_n0x_x__s_n
lea edi, [esp + 0x20]
call fcn.0040ec10
add esp, 0x10
jmp 0x40e7de
push 0x80070057
call fcn.00402920
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 4
lea edi, [esp + 0x14]
call fcn.0040e280
push eax
push ebx
push str.0x_x__s_n
lea edi, [esp + 0x1c]
call fcn.0040ec10
add esp, 0xc
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], esi
je 0x40e7f7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x20], 0
je 0x40e830
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40e830
mov ecx, dword [esp + 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40e830
cmp dword [eax - 0xc], 0
je 0x40e830
push eax
push 0x457a40
lea edi, [esp + 0x18]
call fcn.0040ec10
add esp, 8
cmp dword [0x5a1b74], 0
je 0x40e848
mov edx, dword [esp + 0x10]
push edx
call fcn.0043b454
add esp, 4
jmp 0x40e85c
mov eax, dword [esp + 0x10]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402e30
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402e30
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4128d0
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [ecx + 0x14]
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
test edi, edi
lea eax, [eax + ecx + 0x18]
jbe 0x412905
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4128ee
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4128fb
add edx, ecx
cmp ebx, edx
jb 0x412907
add esi, 1
add eax, 0x28
cmp esi, edi
jb 0x4128e4
xor eax, eax
pop edi
pop esi
ret

Function at 0x415030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov al, byte [esi + 0x101]
xor ecx, ecx
cmp dword [esp + 0xc], ecx
push ebx
mov bl, byte [esi + 0x100]
jbe 0x415092
push ebp
push edi
jmp 0x415050
add bl, 1
movzx edx, bl
lea edi, [edx + esi]
movzx edx, byte [edi]
add al, dl
mov byte [esp + 0xf], al
movzx eax, al
lea ebp, [eax + esi]
movzx eax, byte [ebp]
mov byte [edi], al
mov edi, dword [esp + 0x14]
add eax, edx
and eax, 0xff
mov byte [ebp], dl
movzx edx, byte [eax + esi]
xor byte [ecx + edi], dl
mov al, byte [esp + 0xf]
add ecx, 1
cmp ecx, dword [esp + 0x18]
jb 0x415050
pop edi
pop ebp
mov byte [esi + 0x100], bl
mov byte [esi + 0x101], al
pop ebx
pop ecx
ret 8
Function at 0x415410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45040f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
xor ebp, ebp
mov dword [edi], vtable.CHVMEEHlpr.0
mov dword [edi + 0x58], ebp
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x60], ebp
mov dword [esp + 0x34], ebp
mov dword [edi + 0x84], ebp
mov dword [edi + 0x88], ebp
mov dword [edi + 0x8c], ebp
mov byte [esp + 0x34], 1
lea eax, [edi + 0x9c]
push eax
call fcn.00402dd0
mov byte [esp + 0x34], 2
lea ecx, [edi + 0xa0]
push ecx
call fcn.00417d00
mov byte [esp + 0x34], 3
lea edx, [edi + 0xac]
push edx
call fcn.004350b0
mov byte [esp + 0x34], 4
lea eax, [edi + 0x1bc]
push eax
call fcn.00417d00
mov byte [esp + 0x34], 5
mov eax, 5
mov esi, 1
push 0x88
mov dword [edi + 0x48], ebp
mov dword [edi + 0x4c], ebp
mov dword [edi + 0x20], ebp
mov dword [edi + 4], ebp
mov dword [edi + 0x50], ebp
mov dword [edi + 0x44], ebp
mov dword [edi + 0x1b8], ebp
mov dword [edi + 0x1b4], ebp
mov dword [edi + 0x1cc], ebp
mov dword [edi + 0x1d0], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c8], ebp
mov dword [edi + 0x40], ebp
mov dword [edi + 0x1d4], ebx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], 0x16
mov dword [edi + 0x134], 0x3000000
mov dword [edi + 0x138], 0x5000000
mov dword [edi + 0x13c], 0x7000000
mov dword [edi + 0x140], 0x13000000
mov dword [edi + 0x144], 0x16000000
mov dword [edi + 0x148], eax
mov dword [edi + 0x14c], esi
mov dword [edi + 0x150], esi
mov dword [edi + 0x160], ebp
mov dword [edi + 0x1a8], ebp
mov dword [edi + 0x164], ebp
mov dword [edi + 0x154], ebp
mov dword [edi + 0x1a0], ebp
mov dword [edi + 0x6c], ebp
mov dword [edi + 0x78], ebp
mov dword [edi + 0x70], ebp
mov dword [edi + 0x68], ebp
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
call fcn.0043b537
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 6
cmp eax, ebp
je 0x4155b3
mov esi, eax
call fcn.004150b0
mov edx, eax
lea esi, [ebp + 1]
jmp 0x4155b5
xor edx, edx
mov byte [esp + 0x34], 5
mov eax, ebx
mov dword [edi + 0xc], edx
call fcn.00415150
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x7c], esi
mov dword [edi + 0x64], ebp
mov dword [edi + 0x1ac], ebp
mov dword [edi + 0x1b0], ebp
mov dword [edi + 0x98], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x18]
xor eax, edx
mov ecx, eax
shl ecx, 6
mov dword [edi + 0x30], eax
sub ecx, eax
mov eax, dword [0x5a1b94]
mov dword [edi + 0x38], ecx
mov edx, dword [eax + 0x24]
xor edx, ecx
mov dword [edi + 0x38], edx
mov dword [esp + 0x34], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4

Function at 0x419500
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push 0x4589ac
jmp loc.0070f9fd
Function at 0x419990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44e1c6
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.IJitCallBack.0
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x42ab90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x45a948
jmp 0x42c6d8

Function at 0x42b3e0
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, ecx
push 0x45a974
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
jmp fcn.006f59af
Function at 0x42b850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4505d5
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00419990
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
mov dword [esi], vtable.NetFX45::CNetFX4xCallBack.0
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x94], edi
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x5a1c64]
mov dword [esi + 0xa8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x98], ecx
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x34]
mov eax, dword [0x5a132c]
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 8], ebx
mov ecx, dword [esi + 0x94]
cmp ecx, edi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], eax
je 0x42b904
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x94], edi
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xac], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18

Function at 0x42bcf0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push 0x45a9b4
jmp fcn.00741e13

Function at 0x433170
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x450fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x10c]
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x110]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0x114]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
push str.5ee
jmp loc.007090f0
Function at 0x4350b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44ffac
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push esi
call fcn.00417d00
mov dword [esp + 0x10], 0
lea eax, [esi + 0xc]
push eax
call fcn.00417d00
mov byte [esp + 0x10], 1
lea ecx, [esi + 0x18]
push ecx
call fcn.00417d00
mov byte [esp + 0x10], 2
lea edx, [esi + 0x24]
push edx
call fcn.00417d00
mov byte [esp + 0x10], 3
lea eax, [esi + 0x30]
push eax
call fcn.00417d00
mov byte [esp + 0x10], 4
lea ecx, [esi + 0x3c]
push ecx
call fcn.00417d00
mov byte [esp + 0x10], 5
lea edx, [esi + 0x48]
push edx
call fcn.00417d00
mov byte [esp + 0x10], 6
lea eax, [esi + 0x54]
push eax
call fcn.00417d00
mov byte [esp + 0x10], 7
lea ecx, [esi + 0x60]
push ecx
call fcn.00417d00
mov byte [esp + 0x10], 8
lea edx, [esi + 0x6c]
push edx
call fcn.00417d00
mov byte [esp + 0x10], 9
lea eax, [esi + 0x7c]
push eax
call fcn.00417d00
mov byte [esp + 0x10], 0xa
mov dword [esi + 0x78], 1
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4351a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44ff04
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 9
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x7c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 8
mov byte [esp + 0x14], cl
lea eax, [esi + 0x6c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 7
mov byte [esp + 0x14], cl
lea eax, [esi + 0x60]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 6
mov byte [esp + 0x14], cl
lea eax, [esi + 0x54]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 5
mov byte [esp + 0x14], cl
lea eax, [esi + 0x48]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 4
mov byte [esp + 0x14], cl
lea eax, [esi + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 3
mov byte [esp + 0x14], cl
lea eax, [esi + 0x30]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 2
mov byte [esp + 0x14], cl
lea eax, [esi + 0x24]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov cl, 1
mov byte [esp + 0x14], cl
lea eax, [esi + 0x18]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
xor cl, cl
mov byte [esp + 0x14], cl
lea eax, [esi + 0xc]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004181f0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
call fcn.004181f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x435430
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0x45efd8
mov ebx, eax
mov esi, ecx
jmp fcn.005c66c5
Function at 0x4367d0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, ecx
push 0x40
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x4367f0
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
cmp word [edi], 0x5a4d
jne 0x4367e9
push esi
mov esi, dword [edi + 0x3c]
push 4
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4368c3
cmp dword [esi], 0x4550
jne 0x4368c3
mov dword [ebp], eax
mov dword [ebx], eax
cmp word [esi + 0x18], 0x20b
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], eax
jne 0x43683e
mov eax, dword [esi + 0xf8]
mov dword [esp + 0x10], 1
jmp 0x436844
mov eax, dword [esi + 0xe8]
test eax, eax
mov dword [ebp], ecx
mov edx, dword [esi + 8]
mov dword [ebx], edx
je 0x4368c3
cmp dword [esp + 0x18], 0
lea ebx, [eax + edi]
jne 0x436875
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x43686b
call fcn.004128b0
jmp 0x436870
call fcn.004128b0
mov ebx, eax
add esp, 4
push 0x48
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4368c3
mov eax, dword [ebx + 8]
sub eax, 0x10
cmp dword [esp + 0x18], 0
lea ebp, [eax + edi]
jne 0x4368ad
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x4368a3
call fcn.004128b0
jmp 0x4368a8
call fcn.004128b0
mov ebp, eax
add esp, 4
push 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4368c3
cmp dword [ebp], 0x424a5342
je 0x4368cb
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x1c]
mov esi, 1
xor edi, edi
add ecx, esi
lea ebx, [esi + 0x1e]
jmp 0x4368e0
movzx eax, byte [ecx - 1]
add eax, esi
xor edx, edx
mov esi, 0xfff1
div esi
add ecx, 4
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 4]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 3]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 2]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
sub ebx, 1
mov edi, edx
jne 0x4368e0
mov eax, edi
shl eax, 0x10
add eax, esi
sub eax, dword [ebp + 0xc]
pop esi
neg eax
sbb eax, eax
not eax
pop edi
and eax, ebp
pop ebp
pop ebx
pop ecx
ret