joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x4b7edd
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
je 0x4b7f04
mov esi, eax
nop word [eax + eax]
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x4b7ef0
mov esi, dword [ebp - 0x10]
push edi
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00445430
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4b7f35
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x4924924
je 0x4b8099
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x18], 0
call fcn.004d4062
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
push dword [ebp + 0xc]
lea esi, [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004049c0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.004049c0
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x53cd10]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x53cd10]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4b802b
divss xmm0, xmm3
call fcn.00408a30
call fcn.004fc8b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x4b800f
cmp eax, 0x200
jae 0x4b800d
shl eax, 3
cmp eax, ecx
jae 0x4b800f
mov eax, ecx
push eax
mov ecx, esi
call fcn.00444ef0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00445430
mov edx, dword [eax]
jmp 0x4b802e
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x4b805f
mov dword [ecx + eax*8], ebx
jmp 0x4b8071
cmp esi, edx
jne 0x4b8068
mov dword [ecx + eax*8], ebx
jmp 0x4b8075
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4b8075
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004bce27
int3
Function at 0x4d3bf2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004e8f49
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4d3c35
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4d3c35
sub eax, 1
je 0x4d3c30
sub eax, 1
je 0x4d3c2c
xor eax, eax
leave
ret
push 3
jmp 0x4d3c37
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4d4ca3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d4ce2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d4ce2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d4ce2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4d4ce2
cmp dword [ecx + 0x74], 0xe
jbe 0x4d4ce2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4ef51e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004d4f20
mov eax, dword [0x569080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004eda56
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4ef560
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4ef6bc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004fc4d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x56bb90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004ef0b3
mov ecx, dword [esi*4 + 0x56bb90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4ef6b5
cmp eax, dword [edi + ecx + 0x24]
jne 0x4ef6b5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ef6b5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004ef0b3
add esp, 0x14
test edx, edx
jl 0x4ef6b5
jg 0x4ef62b
test eax, eax
jb 0x4ef6b5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4ef6b5
jl 0x4ef645
cmp dword [ebp - 0x1008], eax
ja 0x4ef6b5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4ef663
test ebx, ebx
je 0x4ef69c
cmp ecx, edi
jae 0x4ef69c
mov al, byte [ecx]
cmp al, 0xd
jne 0x4ef67d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4ef689
cmp byte [ecx + 1], 0xa
jne 0x4ef689
inc ecx
jmp 0x4ef689
movzx eax, al
movsx eax, byte [eax + 0x569a18]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4ef663
cmp edx, ebx
jne 0x4ef663
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4ef6ba
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004d3ce9
leave
ret

Function at 0x4efab9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ef75b

Function at 0x4efac4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ef8ea

Function at 0x4f0394
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x52d488
push 0x52d480
push str.FlsAlloc
push 0x1e
call fcn.004f0201
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4f03c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x525578]
call esi
jmp 0x4f03ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4f0412
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x52d498
push 0x52d490
push str.FlsGetValue
push 0x20
call fcn.004f0201
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4f0449
push dword [ebp + 8]
mov ecx, esi
call dword [0x525578]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4f3234
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x569080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4f327f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004f33d3
test al, al
jne 0x4f3279
sub edx, 2
cmp edx, edi
jne 0x4f325f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4f32a1
lea eax, [edi + 2]
cmp edx, eax
je 0x4f32a1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004f3180
add esp, 0x10
jmp 0x4f339b
push esi
lea ecx, [ebp - 0x255]
call fcn.004f33d3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4f32e4
push dword [ebp - 0x25c]
jmp 0x4f3291
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4f3321
cmp word [ebp - 0x226], 0
je 0x4f3342
cmp word [ebp - 0x226], ax
jne 0x4f3321
cmp word [ebp - 0x224], 0
je 0x4f3342
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004f3180
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4f338e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4f32fb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4f3376
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4f339b
push 0x4f2fb0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004fa3f0
add esp, 0x10
jmp 0x4f336b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3ce9
leave
ret

Function at 0x4f3cd0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4f3ce1
pop esi
ret
push ebx
push edi
push esi
call fcn.004f3c99
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004ecaf4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4f3d09
push ebx
push esi
push edi
call fcn.004d5880
add esp, 0xc
push 0
call fcn.004ecaba
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4f40cd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f3d1e

Function at 0x4f8740
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x56bb90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f8780
cmp byte [ebx], 0xa
jne 0x4f8780
or byte [eax + edi + 0x28], 4
jmp 0x4f8785
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4f8883
mov al, byte [edx]
cmp al, 0x1a
je 0x4f8865
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4f87b4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4f87d9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4f87e3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4f8796
jmp 0x4f8883
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f8860
cmp dword [ebp - 0xc], 0
je 0x4f8860
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x56bb90]
test byte [eax + edi + 0x28], 0x48
je 0x4f883a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4f8825
mov byte [esi], dl
jmp 0x4f8836
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x56bb90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4f8883
cmp byte [ebp - 1], 0xa
jne 0x4f8849
cmp esi, ebx
jne 0x4f8849
mov byte [esi], 0xa
jmp 0x4f8882
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004ef0d1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4f8883
mov byte [esi], 0xd
jmp 0x4f8882
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x56bb90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4f887f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4f8883
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4f888c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x56bb90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f88cf
cmp word [esi], dx
jne 0x4f88cf
or byte [edi + eax + 0x28], 4
jmp 0x4f88d4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4f8a27
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4f8a07
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4f8916
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f894c
cmp eax, edx
jae 0x4f8958
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4f88ee
jmp 0x4f8a27
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f8a03
cmp dword [ebp - 0x14], 0
je 0x4f8a03
mov eax, dword [ebx*4 + 0x56bb90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4f89db
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4f89a4
mov word [esi], cx
jmp 0x4f89d7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x56bb90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x56bb90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x56bb90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4f8a27
pop ebx
cmp word [ebp - 4], bx
jne 0x4f89ec
cmp esi, dword [ebp + 0xc]
jne 0x4f89ec
mov word [esi], bx
jmp 0x4f8a24
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004ef0d1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4f8a27
push 0xd
jmp 0x4f8a20
mov ecx, dword [ebx*4 + 0x56bb90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4f8a1e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4f8a27
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4fb185
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004fb101
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4fb2fd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4fb2fd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4fb2ac
jg 0x4fb1de
test eax, eax
je 0x4fb2a2
push 1
push 0x1000
call fcn.004ee156
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4fb204
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4fb299
push 0x8000
push ebx
call fcn.004eab14
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4fb230
jg 0x4fb22b
cmp ecx, 0x1000
jb 0x4fb230
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004eec8a
add esp, 0x10
cmp eax, 0xffffffff
je 0x4fb275
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4fb22b
jl 0x4fb25c
test ecx, ecx
jne 0x4fb21d
push dword [ebp - 0xc]
push ebx
call fcn.004eab14
push esi
call fcn.004ecaba
add esp, 0xc
xor edi, edi
jmp 0x4fb30e
cmp byte [edi + 0x24], 0
je 0x4fb28c
cmp dword [edi + 0x20], 5
jne 0x4fb28c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4fb297
mov edi, dword [edi + 0x18]
jmp 0x4fb299
xor edi, edi
push esi
call fcn.004ecaba
pop ecx
jmp 0x4fb30e
test ecx, ecx
jg 0x4fb26e
jl 0x4fb2ac
test eax, eax
jae 0x4fb26e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004ef0d1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4fb2cf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4fb26e
jmp 0x4fb306
push ebx
call fcn.004f456d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4fb26e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4fb30e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4fb30b
mov edi, dword [edi + 0x18]
jmp 0x4fb30e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004ef0d1
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4fc3b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4fc3dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4fc3dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x193d020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1449000]
push edi
or ebp, 0xffffffff
jmp 0x193d042
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x193d049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x193d038
mov eax, 1
add ebx, ebx
jne 0x193d05b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x193d06c
jne 0x193d08b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x193d08b
dec eax
add ebx, ebx
jne 0x193d078
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x193d050
add ebx, ebx
jne 0x193d087
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x193d0dd
xor ecx, ecx
sub eax, 3
jb 0x193d0a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x193d112
sar eax, 1
mov ebp, eax
jmp 0x193d0ae
add ebx, ebx
jne 0x193d0ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x193d07c
inc ecx
add ebx, ebx
jne 0x193d0bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x193d07c
add ebx, ebx
jne 0x193d0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x193d0be
jne 0x193d0da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x193d0be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x193d0fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x193d0ee
jmp 0x193d03e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x193d0fc
add edi, ecx
jmp 0x193d03e
pop esi
mov edi, esi
mov ecx, 0xb0f6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x193d11a
cmp byte [edi], 0x28
jne 0x193d11a
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 0x193d11f
lea edi, [esi + 0x1538000]
mov eax, dword [edi]
or eax, eax
je 0x193d197
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x153df18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x153e06c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x193d14c
mov ecx, edi
jns 0x193d17b
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 + 0x153e070]
or eax, eax
je 0x193d191
mov dword [ebx], eax
add ebx, 4
jmp 0x193d169
call dword [esi + 0x153e080]
mov ebp, dword [esi + 0x153e074]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x193d1cb
sub esp, 0xffffff80
jmp 0x62e142
Function at 0x403370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
mov eax, dword [0x422004]
xor eax, esp
mov dword [esp + 0x2f0], eax
push esi
push 0x144
lea eax, [esp + 0x1ac]
mov esi, ecx
push 0
push eax
call fcn.00405500
push 0x144
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00405500
add esp, 0x18
push 0xffffffffffffffff
push dword [0x42351c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x58
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00405500
add esp, 0xc
mov dword [esp + 8], 0x58
lea eax, [esp + 0x60]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1a8]
mov dword [esp + 0x14], 0x41f088
push 0x144
push eax
push 0x3f7
push esi
mov dword [esp + 0x54], 0x41f0a4
mov dword [esp + 0x38], 0x144
mov dword [esp + 0x4c], 2
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [esp + 0x1a8]
push 0x41f084
push eax
call fcn.004050b0
add esp, 8
test eax, eax
je 0x40346b
push 0x41e8aa
push 0x3f7
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [0x423530]
test eax, eax
je 0x403461
push eax
call fcn.00408689
add esp, 4
mov dword [0x423534], 0
mov eax, dword [0x423538]
cmp eax, 1
jne 0x403576
lea eax, [esp + 8]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x403576
lea eax, [esp + 0x60]
push eax
push 0x3f7
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x60]
push 0x41f0a8
push eax
call fcn.00406b17
add esp, 8
mov dword [0x42353c], eax
test eax, eax
je 0x403563
push 2
push 0
push eax
call fcn.00406ee5
push dword [0x42353c]
call fcn.00406868
push dword [0x42353c]
mov dword [0x423534], eax
call fcn.00407378
push dword [0x423534]
call fcn.004089c5
add esp, 0x18
mov dword [0x423530], eax
test eax, eax
je 0x403555
push dword [0x42353c]
push dword [0x423534]
push 1
push eax
call fcn.0040888a
add esp, 0x10
cmp eax, dword [0x423534]
je 0x40353a
push 0x10
push 0x41f050
push 0x41f0ac
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [0x42353c]
call fcn.00406ba5
add esp, 4
jmp 0x403576
push ecx
mov ecx, esi
call fcn.00402dc0
add esp, 4
push dword [0x42353c]
call fcn.00406ba5
add esp, 4
jmp 0x403576
push 0x10
push 0x41f050
push 0x41f0c0
jmp 0x40356f
push 0x10
push 0x41f050
push 0x41f0dc
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [0x42351c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x2f4]
pop esi
xor ecx, esp
call fcn.0040438f
mov esp, ebp
pop ebp
ret