joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4238f9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00410720
mov eax, dword [0x444170]
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.004212c5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42393b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x423a97
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042f6f0
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 + 0x445e28]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004248f6
mov ecx, dword [esi*4 + 0x445e28]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x423a90
cmp eax, dword [ecx + edi + 0x24]
jne 0x423a90
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423a90
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004248f6
add esp, 0x14
test edx, edx
jl 0x423a90
jg 0x423a06
test eax, eax
jb 0x423a90
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x423a90
jl 0x423a20
cmp dword [ebp - 0x1008], eax
ja 0x423a90
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x423a3e
test ebx, ebx
je 0x423a77
cmp ecx, edi
jae 0x423a77
mov al, byte [ecx]
cmp al, 0xd
jne 0x423a58
lea eax, [edi - 1]
cmp ecx, eax
jae 0x423a64
cmp byte [ecx + 1], 0xa
jne 0x423a64
inc ecx
jmp 0x423a64
movzx eax, al
movsx eax, byte [eax + 0x444400]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x423a3e
cmp edx, ebx
jne 0x423a3e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x423a95
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004100ef
leave
ret
Function at 0x423d8e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x445e28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423dce
cmp byte [ebx], 0xa
jne 0x423dce
or byte [edi + eax + 0x28], 4
jmp 0x423dd3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x423ed2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x423eb5
inc eax
cmp dl, 0xd
je 0x423dff
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x423e25
cmp eax, ecx
jae 0x423e33
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x423de7
jmp 0x423ed2
push 0
lea eax, [ebp - 0x10]
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 0x423eb0
cmp dword [ebp - 0x10], 0
je 0x423eb0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x445e28]
test byte [eax + edi + 0x28], 0x48
je 0x423e8a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x423e75
mov byte [esi], dl
jmp 0x423e86
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x445e28]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x423ed2
cmp byte [ebp - 1], 0xa
jne 0x423e99
cmp esi, ebx
jne 0x423e99
mov byte [esi], 0xa
jmp 0x423ed1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00424914
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x423ed2
mov byte [esi], 0xd
jmp 0x423ed1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x445e28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423ecf
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x423ed2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x423edb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x445e28]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423f21
cmp word [ebx], dx
jne 0x423f21
or byte [eax + edi + 0x28], 4
jmp 0x423f26
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x424089
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x424069
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x423f67
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x423f9d
cmp eax, edx
jae 0x423fab
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x423f42
jmp 0x424089
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424064
cmp dword [ebp - 0x18], 0
je 0x424064
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x445e28]
test byte [eax + edi + 0x28], 0x48
je 0x42403a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x423ffe
mov word [esi], cx
jmp 0x424035
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x445e28]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x445e28]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x445e28]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x424089
pop eax
cmp word [ebp - 4], ax
jne 0x42404a
cmp esi, ebx
jne 0x42404a
mov word [esi], ax
jmp 0x424086
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00424914
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x424089
push 0xd
pop eax
jmp 0x424045
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x445e28]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x424083
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x424089
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x428dbe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x428e5b
push ebx
push esi
call fcn.00428d87
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042549e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x428e08
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x428e5a
push edi
push eax
call fcn.004203c5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x428e28
call fcn.0042038b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x428e59
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042549e
add esp, 0x20
test eax, eax
jne 0x428e47
push edi
call fcn.0042038b
jmp 0x428e4f
push ebx
call fcn.0042038b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x428e5e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x428e6f
pop esi
ret
push ebx
push edi
push esi
call fcn.00428d87
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004203c5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x428e97
push ebx
push esi
push edi
call fcn.00412a30
add esp, 0xc
push 0
call fcn.0042038b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x429267
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428eac

Function at 0x42b11b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004200a0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42b18a
cmp esi, dword [ebp - 4]
je 0x42b185
cmp dword [ebp + 0xc], 0
je 0x42b185
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b162
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0042ac6d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42b18c
xor eax, eax
inc eax
jmp 0x42b18c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42b1f1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x444170]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004200a0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004200a0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42b268
cmp word [ecx], dx
je 0x42b268
mov eax, dword [0x43936c]
push edi
dec eax
push eax
push 0x439258
call fcn.0042b190
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42b2db
cmp word [eax], dx
je 0x42b2db
mov eax, dword [edi]
test eax, eax
je 0x42b28c
cmp word [eax], dx
je 0x42b28c
lea eax, [ebp - 0x10]
push eax
call fcn.0042ab73
jmp 0x42b295
lea eax, [ebp - 0x10]
push eax
call fcn.0042ac0e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42b305
mov eax, dword [0x439254]
push dword [ebp - 0x14]
dec eax
push eax
push 0x438f48
call fcn.0042b190
add esp, 0xc
test al, al
je 0x42b305
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42b2d0
cmp word [eax], di
je 0x42b2d0
lea eax, [ebp - 0x10]
push eax
call fcn.0042ab73
pop ecx
jmp 0x42b307
lea eax, [ebp - 0x10]
push eax
call fcn.0042ac0e
jmp 0x42b2cd
mov eax, dword [edi]
test eax, eax
je 0x42b2f2
cmp word [eax], dx
je 0x42b2f2
lea eax, [ebp - 0x10]
push eax
call fcn.0042ab28
pop ecx
jmp 0x42b305
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x42b3d0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042b015
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42b3d0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42b3d0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42b3d0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42b35d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00422e9b
test ebx, ebx
je 0x42b3cb
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00422e9b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42b3d0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42b3d0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00425808
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42b3d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004100ef
leave
ret
Function at 0x42f5f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f61d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f61d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x401cf8
mov edi, dword [0x405084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x401c07
test byte [0x402018], 8
jne 0x401ca0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x402028], 8
jne 0x401c60
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401ba9
cmp esi, 3
jbe 0x401c18
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401bba
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4040e4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x401ba9
mov dword [esp], 0x402028
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x401b80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x401b80
mov dword [esp], 0x402018
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x401b6b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x401b73
mov eax, 0xffffffff
jmp 0x401c07

Function at 0x401d70
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x110775b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x11077794
pushal
mov esi, section.UPX1
lea edi, [esi - 0x65000]
push edi
jmp 0x110775da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x110775e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x110775d0
mov eax, 1
add ebx, ebx
jne 0x110775f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11077604
jne 0x11077623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11077623
dec eax
add ebx, ebx
jne 0x11077610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x110775e8
add ebx, ebx
jne 0x1107761f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11077675
xor ecx, ecx
sub eax, 3
jb 0x1107763b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x110776aa
sar eax, 1
mov ebp, eax
jmp 0x11077646
add ebx, ebx
jne 0x11077646
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11077614
inc ecx
add ebx, ebx
jne 0x11077654
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11077614
add ebx, ebx
jne 0x11077661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11077656
jne 0x11077672
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11077656
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11077694
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11077686
jmp 0x110775d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11077694
add edi, ecx
jmp 0x110775d6
pop esi
mov edi, esi
mov ecx, 0x513
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x110776b2
cmp byte [edi], 7
jne 0x110776b2
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 0x110776b7
lea edi, [esi + 0x74000]
mov eax, dword [edi]
or eax, eax
je 0x11077726
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x771b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x77238]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x110776e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7723c]
or eax, eax
je 0x11077720
mov dword [ebx], eax
add ebx, 4
jmp 0x11077701
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x11077757
cmp al, 0xef
ja 0x1107774a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1107772c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x11077739
mov ebp, dword [esi + 0x77240]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x1107778b
sub esp, 0xffffff80
jmp 0x11019468
Function at 0x651c19c9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov word [ebp - 0xec], ax
mov eax, edx
mov byte [ebp - 0xf0], al
mov byte [ebp - 0xd], 0x39
mov word [ebp - 0x40], 0x3178
mov word [ebp - 0x3e], 0x184f
mov word [ebp - 0x3c], 0x131
mov word [ebp - 0x3a], 0x4f39
mov word [ebp - 0x38], 0x5816
mov word [ebp - 0x36], 0xeea7
fld qword [0x652115a8]
fstp qword [ebp - 0x18]
movsx eax, byte [ebp - 0xd]
mov dword [ebp - 0xc], eax
jmp 0x651c1c22
mov byte [ebp - 0xd], 0xd
fld qword [0x652115b0]
fstp qword [ebp - 0xb8]
fld qword [0x652115b8]
fstp qword [ebp - 0xb0]
fld qword [0x652115c0]
fstp qword [ebp - 0xa8]
fld qword [0x652115c8]
fstp qword [ebp - 0xa0]
fld qword [0x652115d0]
fstp qword [ebp - 0x98]
fld qword [0x652115d8]
fstp qword [ebp - 0x90]
fld qword [0x652115e0]
fstp qword [ebp - 0x88]
mov dword [esp], 0
call sub.IPHLPAPI.DLL_IpRenewAddress
sub esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe0], 0x4307fe49
mov dword [ebp - 0xdc], 0x5c12d3cc
mov dword [ebp - 0xd8], 0xeae54f26
mov dword [ebp - 0xd4], 0x395b3cbe
mov dword [ebp - 0xd0], 0xaf197892
mov dword [ebp - 0xcc], 0x8e6bd503
mov dword [ebp - 0xc8], 0x48c429df
mov dword [ebp - 0xc4], 0xb336f42e
mov dword [ebp - 0xc0], 0x297eb8ec
mov dword [ebp - 0xbc], 0xba9a5730
cmp dword [ebp - 0x20], 0xea66bb97
jbe 0x651c1b53
fld dword [0x652115e8]
fstp dword [ebp - 0x70]
fld dword [0x652115ec]
fstp dword [ebp - 0x6c]
fld dword [0x652115f0]
fstp dword [ebp - 0x68]
fld dword [0x652115f4]
fstp dword [ebp - 0x64]
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
call eax
sub esp, 4
mov dword [ebp - 0x24], eax
mov word [ebp - 0x26], 0x1419
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePatternBrush]
call eax
sub esp, 4
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x2e], 0x1dc3
movzx eax, byte [ebp - 0xd]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x34], 0xc6eee50f
mov word [ebp - 0x60], 0xd9c7
mov word [ebp - 0x5e], 0xc39b
mov word [ebp - 0x5c], 0xb8d7
mov word [ebp - 0x5a], 0xc780
mov word [ebp - 0x58], 0x1ca6
mov word [ebp - 0x56], 0xe379
mov word [ebp - 0x54], 0xbcc9
mov word [ebp - 0x52], 0x1aa6
mov dword [ebp - 0xb8], 0x6739686b
mov dword [ebp - 0xb4], 0x2b492624
mov dword [ebp - 0xb0], 0x40c23e9e
mov dword [ebp - 0xac], 0x3d83ea4c
mov dword [ebp - 0xa8], 0xdf9a6b54
mov dword [ebp - 0xa4], 0xbd249139
mov dword [ebp - 0xa0], 0x769fff64
mov dword [ebp - 0x9c], 0x98602293
mov dword [ebp - 0x98], 0xe532fe5a
mov dword [ebp - 0x94], 0x1545556a
mov word [ebp - 0x7c], 0x2c52
mov word [ebp - 0x7a], 0x3736
mov word [ebp - 0x78], 0x4cba
mov word [ebp - 0x76], 0xd752
mov word [ebp - 0x74], 0xc142
mov word [ebp - 0x72], 0xba66
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x636d
jle 0x651c1a24
mov byte [ebp - 0x19], 0xab
nop
leave
ret
Function at 0x40ca7d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0040b0b5
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x40d196
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
pushal
cld
invalid
inc dword [ebx - 0x6fb43]
inc dword [eax]
jne 0x40cc6b
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov esi, eax
test dword [edx - 0x72000008], esi
cmp dword [ebp - 0x6fc], 1