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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe2c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x400
mov ebx, ecx
lea ecx, [ebp - 0x610]
push 0
push ecx
mov dword [ebp - 0xe24], eax
call fcn.00407ee0
add esp, 0xc
push ebx
lea edx, [ebp - 0x610]
push 0x1ff
push edx
call fcn.0040460c
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404251
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2 - 0x60e]
mov ecx, 0x80
mov esi, 0x417a80
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
jmp 0x404280
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404280
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x202]
push 0x10000
mov dword [ebp - 0xe28], eax
call fcn.004050cd
add esp, 4
push 0x10000
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.00407ee0
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0xe0e]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xe1c], 0x10000
mov word [ebp - 0xe10], cx
call fcn.00407ee0
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0xe18], esi
mov dword [ebp - 0xe14], esi
mov dword [ebp - 0xe20], esi
mov word [ebp - 0x210], ax
call fcn.00407ee0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe24]
lea eax, [ebp - 0xe10]
push eax
push ecx
lea esi, [ebp - 0xe18]
call fcn.00403b40
add esp, 8
test eax, eax
je 0x40441c
mov eax, dword [ebp - 0xe28]
lea edx, [ebp - 0xe10]
push edx
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0xbba
mov edx, esi
call fcn.00403c50
add esp, 0x10
test eax, eax
je 0x40441c
lea edx, [ebp - 0xe10]
push edx
lea eax, [ebp - 0xe20]
push eax
mov ecx, esi
push ecx
lea edx, [ebp - 0xe1c]
mov ecx, ebx
call fcn.00403e50
add esp, 0xc
test eax, eax
je 0x40441c
mov edx, 0xbba
cmp word [ebp - 0xe20], dx
jne 0x40441c
cmp dword [ebp - 0xe1c], 0
je 0x40441c
cmp byte [ebx], 0
jne 0x40441c
push 0x417c80
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404597
add esp, 0xc
push 0x4137b0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xe14]
push edx
mov dword [ebp - 0xe14], 0
call fcn.004048b9
add esp, 0xc
cmp dword [ebp - 0xe14], 0
je 0x404412
lea eax, [ebp - 0xe14]
push eax
mov edi, esi
call fcn.00404460
add esp, 4
mov dword [ebp - 0xe14], 1
test ebx, ebx
je 0x404429
push ebx
call fcn.00405161
add esp, 4
mov eax, dword [ebp - 0xe18]
test eax, eax
je 0x40443a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404588
mov esp, ebp
pop ebp
ret
Function at 0x404460
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040db50
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push 4
lea ecx, [ebp - 0x1008]
push ecx
push edx
mov dword [ebp - 0x100c], eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x4044ac
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404588
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], ebx
jbe 0x4044f8
push esi
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
je 0x4044f7
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
push esi
lea ecx, [ebp - 0x1004]
push 1
push ecx
call fcn.00404d9f
add ebx, esi
add esp, 0x10
cmp ebx, dword [ebp - 0x1008]
jb 0x4044b5
pop esi
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
call fcn.00404bd4
mov ecx, dword [ebp - 4]
add esp, 4
cmp ebx, dword [ebp - 0x1008]
pop ebx
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00404588
mov esp, ebp
pop ebp
ret

Function at 0x404588
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415048]
jne 0x404592
repz ret
jmp fcn.00405d0e
Function at 0x40deeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409a53
and dword [ebp - 0x14], 0
cmp dword [0x416cac], 0
mov dword [ebp - 0x18], eax
jne 0x40df9e
push 0x412300
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e046
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4122f4
push ebx
call edi
test eax, eax
je 0x40e046
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4122e4
push ebx
mov dword [0x416cac], eax
call edi
push eax
call esi
push 0x4122d0
push ebx
mov dword [0x416cb0], eax
call edi
push eax
call esi
push 0x4122b4
push ebx
mov dword [0x416cb4], eax
call edi
push eax
call esi
mov dword [0x416cbc], eax
test eax, eax
je 0x40df9e
push 0x41229c
push ebx
call edi
push eax
call esi
mov dword [0x416cb8], eax
mov eax, dword [0x416cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40dff7
cmp dword [0x416cbc], ecx
je 0x40dff7
push eax
call esi
push dword [0x416cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40dff7
test ebx, ebx
je 0x40dff7
call edi
test eax, eax
je 0x40dfee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40dfee
test byte [ebp - 8], 1
jne 0x40dff7
or dword [ebp + 0x10], 0x200000
jmp 0x40e02a
mov eax, dword [0x416cb0]
cmp eax, dword [ebp - 0x18]
je 0x40e02a
push eax
call esi
test eax, eax
je 0x40e02a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e02a
mov eax, dword [0x416cb4]
cmp eax, dword [ebp - 0x18]
je 0x40e02a
push eax
call esi
test eax, eax
je 0x40e02a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416cac]
call esi
test eax, eax
je 0x40e046
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404588
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0xb46776a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x214c06b6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x25b71b09
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, str.A_v
nop
mov ebx, 0x42e3d0
mov ecx, 0x600113c6
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x414dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GdBKlczN
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x414de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414dd8
mov eax, 1
add ebx, ebx
jne 0x414dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414df0
jne 0x414e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414df0
xor ecx, ecx
sub eax, 3
jb 0x414e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414e92
mov ebp, eax
add ebx, ebx
jne 0x414e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414e5c
inc ecx
add ebx, ebx
jne 0x414e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e3d
jne 0x414e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414e6d
jmp 0x414dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414e7c
add edi, ecx
jmp 0x414dde
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414e9a
cmp byte [edi], 5
jne 0x414e9a
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 0x414e9f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414ecc
mov ecx, edi
jns 0x414efb
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 + 0x19bfc]
or eax, eax
je 0x414f11
mov dword [ebx], eax
add ebx, 4
jmp 0x414ee9
call dword [esi + 0x19bf8]
mov ebp, dword [esi + 0x19c00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414f4b
sub esp, 0xffffff80
jmp 0x401134

Function at 0x41f034
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0041f047

Function at 0x41f0ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.0041f0c1
Function at 0x403170
Capabilities:
Encrypt data using rc6

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1e4]
xor edx, edx
xor ecx, ecx
xor eax, eax
test esi, esi
push edi
jbe 0x4031d3
mov edi, dword [esp + 0x1e4]
movzx ebx, byte [ecx + edi]
shl eax, 8
or eax, ebx
inc ecx
test cl, 3
jne 0x4031cf
mov ebx, eax
and ebx, 0xff0000
mov ebp, eax
shr ebp, 0x10
or ebx, ebp
mov ebp, eax
and ebp, 0xff00
shl eax, 0x10
or ebp, eax
shr ebx, 8
shl ebp, 8
or ebx, ebp
mov dword [esp + edx*4 + 0xe0], ebx
inc edx
xor eax, eax
cmp ecx, esi
jb 0x403192
and esi, 3
je 0x403210
mov ecx, 4
sub ecx, esi
shl ecx, 3
shl eax, cl
mov ecx, eax
and ecx, 0xff0000
mov esi, eax
shr esi, 0x10
or ecx, esi
mov esi, eax
and esi, 0xff00
shl eax, 0x10
or esi, eax
shr ecx, 8
shl esi, 8
or ecx, esi
mov dword [esp + edx*4 + 0xe0], ecx
inc edx
mov dword [esp + 0x18], 0xb7e15163
mov eax, 1
lea ecx, [ecx]
mov ecx, dword [esp + eax*4 + 0x14]
sub ecx, 0x61c88647
mov dword [esp + eax*4 + 0x18], ecx
inc eax
cmp eax, 0x2c
jb 0x403220
cmp edx, 0x2c
mov eax, 0x2c
jb 0x403240
mov eax, edx
lea eax, [eax + eax*2]
xor ebp, ebp
xor ebx, ebx
xor ecx, ecx
xor esi, esi
test eax, eax
mov dword [esp + 0x14], edx
jbe 0x4032bb
mov dword [esp + 0x10], eax
mov eax, dword [esp + ebx*4 + 0x18]
lea edx, [ecx + esi]
add edx, eax
mov eax, edx
shr eax, 0x1d
shl edx, 3
or eax, edx
mov esi, eax
mov dword [esp + ebx*4 + 0x18], eax
mov eax, dword [esp + ebp*4 + 0xe0]
lea edi, [ecx + esi]
add ecx, esi
lea edx, [ecx + eax]
and edi, 0x1f
mov eax, edx
mov ecx, 0x20
sub ecx, edi
shr eax, cl
mov ecx, edi
shl edx, cl
mov edi, 0x2c
or eax, edx
mov dword [esp + ebp*4 + 0xe0], eax
mov ecx, eax
xor edx, edx
lea eax, [ebx + 1]
div edi
lea eax, [ebp + 1]
mov ebx, edx
xor edx, edx
div dword [esp + 0x14]
dec dword [esp + 0x10]
mov ebp, edx
jne 0x403257
mov edi, dword [esp + 0x1f0]
mov ecx, 0x2c
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1d0
ret
Function at 0x403e80
Capabilities:
Query service configuration
Query service status

Disassembly:
sub esp, 0x20
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
jne 0x403ef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1f
ja 0x403ed2
je 0x403ec8
mov ecx, eax
sub ecx, 5
je 0x403ebe
dec ecx
jne 0x403fa7
mov eax, 0xfffffff5
pop ebp
add esp, 0x20
ret
mov eax, 0xfffffff2
pop ebp
add esp, 0x20
ret
mov eax, 0xffffffeb
pop ebp
add esp, 0x20
ret
cmp eax, 0x7b
je 0x403eec
cmp eax, 0x424
jne 0x403fa7
mov eax, 0xfffffff3
pop ebp
add esp, 0x20
ret
mov eax, 0xfffffff4
pop ebp
add esp, 0x20
ret
push edi
push 0xf01ff
push 0x40129c
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x403f19
call fcn.00403a90
pop edi
pop ebp
add esp, 0x20
ret
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x403f33
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
push ebx
push esi
push 0x200
call fcn.00474ea7
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
add esp, 4
lea edx, [esp + 0x10]
push edx
push 0x200
mov esi, eax
push esi
push edi
call ebx
cmp eax, 0x7a
jne 0x403f72
push esi
call fcn.00474dfd
mov eax, dword [esp + 0x14]
push eax
call fcn.00474ea7
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
push edi
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x403f8d
mov ecx, dword [esi + 4]
mov dword [eax], ecx
push esi
call fcn.00474dfd
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 4
push edi
call esi
push ebp
call esi
pop esi
pop ebx
xor eax, eax
pop edi
pop ebp
add esp, 0x20
ret

Function at 0x4046c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x4899b4]
test eax, eax
push esi
push edi
jne 0x404741
push 0xa
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4046e5
pop edi
mov eax, 0xffff0004
pop esi
ret
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4046fa
pop edi
mov eax, 0xffff0005
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov dword [0x489930], eax
call fcn.00474ea7
add esp, 4
test eax, eax
mov dword [0x4899b4], eax
jne 0x40472b
pop edi
mov eax, 0xffff0006
pop esi
ret
mov ecx, dword [0x489930]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
xor eax, eax
pop esi
ret
Function at 0x405180
Capabilities:
Get common file path
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x48913c]
mov ecx, dword [0x401958]
mov dl, byte [0x40195c]
mov dword [esp + 0x278], eax
mov eax, dword [0x401954]
push ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x88], dl
mov edx, dword [0x401948]
mov ecx, 0x3d
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
mov ecx, dword [0x401944]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x401940]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x401950]
mov dword [esp + 0x6c], eax
mov eax, dword [0x40194c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x180]
mov dword [esp + 0x78], eax
xor eax, eax
push edx
mov ecx, 0x13
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
push pe_nt_image_headers32
mov dword [esp + 0x20], 0x4c
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x180]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x80]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
test eax, eax
je 0x4052f4
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40529d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00474ea7
mov edi, eax
add esp, 4
test edi, edi
jne 0x4052b3
or eax, 0xffffffff
mov ecx, dword [esp + 0x284]
call fcn.00474d28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea edx, [esp + 0x18]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4899b0]
test eax, eax
mov dword [esp + 0x10], 0
je 0x4052eb
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.00474dfd
add esp, 4
mov ecx, dword [esp + 0x284]
xor eax, eax
call fcn.00474d28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push 0
mov esi, eax
mov ecx, dword [esi]
push 0x130b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x405aa5
push 0
push eax
call ebx
call fcn.004053b0
call fcn.00403fb0
test eax, eax
jne 0x405aa5
call fcn.00403990
call fcn.00403c10
call fcn.00403d40
mov eax, dword [esi + edi*4 + 0x18]
push 5
push eax
mov dword [esi + 4], eax
call ebx
pop edi
pop esi
pop ebx
ret 4

Function at 0x40c1b5
Capabilities:
Encode data using base64

Disassembly:
pop dword [esp - 4]
push ecx
call fcn.00425bb9
xor eax, 0xc08566ca
jb 0x40d63a
je 0x40ad1f
jne 0x40c1d7
cpuid
nop
ret
mov al, byte [0x4899e4]
ja 0x408091
jbe 0x40c1e8
cpuid
ret
jbe 0x408091
xor eax, 0x66916674
xchg ecx, eax
add eax, 0xebe58919
push esi
mov esi, dword [ebp + 0xc]
ja 0x418e51
jbe 0x40d650
mov esp, 0xf54f389
xchg bl, bh
mov bh, 0
add byte [edx + 0xf013c5f], al
and dword [edi], 0x70fffff2
add al, 0xa8
pop esi
jbe 0x418e51
sbb byte [edi + 0x3c], 1
jno 0x40c887
jo 0x40d666
test al, 0x5e
outsd dx, dword [esi]
push eax
jo 0x40c887
xor eax, 0x24448f8d
cld
push edi
push 3
jno 0x417ae9
jo 0x418e5f
mov edx, 0x84800f40
in al, dx
invalid
jo 0x417ae9
fcomp st(6)

Function at 0x40ca34
Capabilities:
Encode data using base64

Disassembly:
shr ah, 0x40
jmp 0x4070f0
push ebp
mov ebp, esp
mov eax, dword [0x47f518]
js 0x42388e
jns 0x407105
nop
cpuid
ret
jns 0x42388e
add eax, 0x40eec022
xor eax, 0x24648d3e
add al, 0xe9
div byte [eax + eax]
add byte [edi], cl
mov byte [ebp - 0x6f], dh
add byte [eax], al
xor ecx, ecx
jb 0x40ca32
push 0x4253e8
ret
Function at 0x412d05
Capabilities:
Encode data using base64

Disassembly:
call dword [ebp + 0x4c]
shl si, 0x20
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
jno 0x40d96e
jo 0x40ea59
dec ecx
cpuid
ret
jo 0x40d96e
pop dword [esp - 4]
mov ebx, dword [ebp + 0x38]
jne 0x40ea3d
je 0x412d18
xchg byte [edx], ah
popfd
ja 0x412d28
je 0x40ea3d
test byte [edi], bl
mov ebp, 0xe305ffff
add eax, 0x418b66e3
add ah, byte [esi - 0x7f]
shr dword [eax + 0x62], 0x66
sub ecx, 0xc1816268
add al, byte [eax]
add byte [eax], al
bound esp, qword [esi - 0x7f]
jmp 0xc1c28f98
cmp ax, 0xffff
jne 0x418857
je 0x427567
cpuid
cld
ret
mov cl, cl
cmp word [edx + edx + 0x47f398], 0xffff
je 0x42ace4
jne 0x42757f
inc esi
and byte [edi + 0x6a], bh
add bh, bh
imul al
push ebp
dec ebp
invalid
push 2
push esi
call fcn.0040c2dd
add esp, 8
mov ax, 2
pop edi
push 0x42acd6
ret
Function at 0x41471b
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 4]
mov eax, dword [esi]
mov edx, dword [0x47f1cc]
lea ecx, [ebp + 8]
xchg si, di
xchg di, si
jne 0x42aec5
je 0x41473b
int1
xor al, 0x5c
je 0x42aec5
xor eax, 0x3dfb8006
pop edi
pop esi
xchg edi, ebp
xchg ebp, edi
jne 0x4270aa
shr di, 0x40
je 0x4148c6
cpuid
ret
je 0x4270aa
jmp dword [esi]
dec edi
mov ah, byte [esi - 0x77]
jmp dword [esi - 9]
lds esp, [ebx - 0x77]
in eax, dx
ja 0x4191fb
jbe 0x419046
adc al, 0xe
cwde
arpl word [edi], cx
xchg byte [edi + 0x34000001], ch
mov cs, word [ebp + 0x10086]
add bl, ch
jbe 0x4191fb
xor al, 0x8e
lea eax, [esi + 0x100]
jmp 0x419055
push eax
jmp 0x419058
push edi
xchg si, cx
xchg cx, si
call fcn.0041b048
add esp, 4
push eax
call fcn.00407fe1
add esp, 0xc
shl ebp, 0x20
jmp 0x41907c
push esi
jne 0x41e768
je 0x419088
push ecx
int1
je 0x41e768
invalid
neg byte [edi]
jmp dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
pop ebp
ret
push 0
push ecx
push pe_nt_image_headers32
jmp 0x42aece
push eax
mov ecx, ecx
push pe_nt_image_headers32
jmp 0x42aed8
push eax
push 0x9c40244c
push edx
call fcn.00422c65
mov edi, eax
mov eax, dword [esi]
push 0
push 0
push eax
call fcn.004087f3
add esi, 0x59af8d0
sub esi, 0x59af8d0
add esp, 0x38
cmc
cmc
test edi, edi
jb 0x420a54
jne 0x42af5a
je 0x42af1c
sub ch, ah
pop esi
xchg edx, eax
mov ecx, dword [esi]
jmp 0x42af1f
push ecx
call fcn.004270af
add esp, 4
test al, al
jb 0x419029
jne 0x42af5a
je 0x42af40
cpuid
nop
ret
mov edx, dword [esi]
push 0xe
push edx
call fcn.0040c2dd
add esp, 8
pop edi
pop esi
pop ebx
mov di, di
pop ebp
ret
cmp dword [0x47f1cc], ebx
je 0x4148b0
jne 0x42af6b
test ah, 0x8b
push es
mov eax, dword [esi]
push eax
xchg ecx, eax
xchg ecx, eax
call fcn.00425d9d
add esp, 4
add eax, 0
test al, al
jb 0x419036
jne 0x4148b0
je 0x42af93
mov dh, 0xc2
mov ecx, dword [0x47f1cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x47f1cc], ebx
push 0x4148b0
ret

Function at 0x414a14
Capabilities:
Encode data using base64

Disassembly:
pop dword [esp - 4]
mov byte [esi + 0xba], bl
jno 0x408983
jo 0x42c094
cpuid
add al, bl
jo 0x408983
fstp dword [edi - 0x73]
and al, 4
Function at 0x419367
Capabilities:
Encode data using base64

Disassembly:
add esi, 8
pop dword [esp - 4]
mov eax, dword [esi + 4]
jmp 0x416c00
inc ebx
sbb al, bl
jno 0x40f206

Function at 0x423e1e
Capabilities:
Encode data using base64

Disassembly:
add esp, 4
and byte [ebp + ebx], al
jb 0x419a74
jmp dword [esi]