joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4413d7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45a7c4]
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.0043c38a
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.0043c38a
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 0x44144e
cmp word [ecx], dx
je 0x44144e
mov eax, dword [0x44f0d4]
push edi
dec eax
push eax
push 0x44efc0
call fcn.004415c7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4414c1
cmp word [eax], dx
je 0x4414c1
mov eax, dword [edi]
test eax, eax
je 0x441472
cmp word [eax], dx
je 0x441472
lea eax, [ebp - 0x10]
push eax
call fcn.00441628
jmp 0x44147b
lea eax, [ebp - 0x10]
push eax
call fcn.00441923
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4414eb
mov eax, dword [0x44efbc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44ecb0
call fcn.004415c7
add esp, 0xc
test al, al
je 0x4414eb
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4414b6
cmp word [eax], di
je 0x4414b6
lea eax, [ebp - 0x10]
push eax
call fcn.00441628
pop ecx
jmp 0x4414ed
lea eax, [ebp - 0x10]
push eax
call fcn.00441923
jmp 0x4414b3
mov eax, dword [edi]
test eax, eax
je 0x4414d8
cmp word [eax], dx
je 0x4414d8
lea eax, [ebp - 0x10]
push eax
call fcn.00441a65
pop ecx
jmp 0x4414eb
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 0x4415b6
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00441b57
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4415b6
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4415b6
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4415b6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x441543
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043cf90
test ebx, ebx
je 0x4415b1
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043cf90
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4415b6
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 0x4415b6
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00449509
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4415b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c8b1
leave
ret
Function at 0x441c5d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043c38a
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 0x441ccc
cmp esi, dword [ebp - 4]
je 0x441cc7
cmp dword [ebp + 0xc], 0
je 0x441cc7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x441ca4
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00441d26
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x441cce
xor eax, eax
inc eax
jmp 0x441cce
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x442d68
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042f680
mov eax, dword [0x45a7c4]
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.0043f813
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x442daa
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x442f06
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00449180
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 + 0x45c8a8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00442b10
mov ecx, dword [esi*4 + 0x45c8a8]
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 0x442eff
cmp eax, dword [ecx + edi + 0x24]
jne 0x442eff
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 0x442eff
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00442b10
add esp, 0x14
test edx, edx
jl 0x442eff
jg 0x442e75
test eax, eax
jb 0x442eff
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x442eff
jl 0x442e8f
cmp dword [ebp - 0x1008], eax
ja 0x442eff
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x442ead
test ebx, ebx
je 0x442ee6
cmp ecx, edi
jae 0x442ee6
mov al, byte [ecx]
cmp al, 0xd
jne 0x442ec7
lea eax, [edi - 1]
cmp ecx, eax
jae 0x442ed3
cmp byte [ecx + 1], 0xa
jne 0x442ed3
inc ecx
jmp 0x442ed3
movzx eax, al
movsx eax, byte [eax + 0x45b0f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x442ead
cmp edx, ebx
jne 0x442ead
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x442f04
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042c8b1
leave
ret
Function at 0x44330e
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 0x4433ab
push ebx
push esi
call fcn.004433ae
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.0043c239
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x443358
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4433aa
push edi
push eax
call fcn.0043c129
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x443378
call fcn.0043c0ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4433a9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043c239
add esp, 0x20
test eax, eax
jne 0x443397
push edi
call fcn.0043c0ef
jmp 0x44339f
push ebx
call fcn.0043c0ef
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 0x44527e
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 + 0x45c8a8]
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 0x4452be
cmp byte [ebx], 0xa
jne 0x4452be
or byte [edi + eax + 0x28], 4
jmp 0x4452c3
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 0x4453c2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4453a5
inc eax
cmp dl, 0xd
je 0x4452ef
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x445315
cmp eax, ecx
jae 0x445323
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 0x4452d7
jmp 0x4453c2
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 0x4453a0
cmp dword [ebp - 0x10], 0
je 0x4453a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x45c8a8]
test byte [eax + edi + 0x28], 0x48
je 0x44537a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x445365
mov byte [esi], dl
jmp 0x445376
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45c8a8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4453c2
cmp byte [ebp - 1], 0xa
jne 0x445389
cmp esi, ebx
jne 0x445389
mov byte [esi], 0xa
jmp 0x4453c1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00442ab2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4453c2
mov byte [esi], 0xd
jmp 0x4453c1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x45c8a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4453bf
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4453c2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4453cb
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 + 0x45c8a8]
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 0x445411
cmp word [ebx], dx
jne 0x445411
or byte [eax + edi + 0x28], 4
jmp 0x445416
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 0x445579
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 0x445559
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x445457
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44548d
cmp eax, edx
jae 0x44549b
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 0x445432
jmp 0x445579
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 0x445554
cmp dword [ebp - 0x18], 0
je 0x445554
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x45c8a8]
test byte [eax + edi + 0x28], 0x48
je 0x44552a
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 0x4454ee
mov word [esi], cx
jmp 0x445525
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x45c8a8]
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 + 0x45c8a8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45c8a8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x445579
pop eax
cmp word [ebp - 4], ax
jne 0x44553a
cmp esi, ebx
jne 0x44553a
mov word [esi], ax
jmp 0x445576
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00442ab2
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x445579
push 0xd
pop eax
jmp 0x445535
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45c8a8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x445573
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x445579
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 0x403a66
Capabilities:
Contain obfuscated stackstrings

Disassembly:
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004036e7
push eax
push esi
push dword [ebp + 8]
call fcn.0040369c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
invalid

Function at 0x403d9b
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
inc edi
push es
inc edi
push es
jne 0x403dae
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x403dcc
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x403e2a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x403e11
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x403e1a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x403e24
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x403e06
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403d90
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x403e77
dec eax
je 0x403e6e
sub eax, 3
je 0x403e65
mov dword [ebp - 4], 0x40
jmp 0x403e94
mov dword [ebp - 4], 4
jmp 0x403e7a
mov dword [ebp - 4], 0x20
jmp 0x403e7a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esp
invalid
invalid
invalid
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x403ec6
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x403e46
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004036d7
in eax, 0x8a
pop ss
into
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x403ed2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004036e7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040369c
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
invalid

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

Disassembly:
movsd dword es:[edi], dword [esi]
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004036d7
mov dh, 0x73
lock or cl, byte [ecx - 0x75]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4058c4
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4058c4
call fcn.004036d7
dec ebp
arpl word [esi + 0x245a8b5c], bx
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004036d7
fcomp st(5)
invalid
invalid
fidivr word [ebp + 0x75ff2250]
or bh, bh
jne 0x40590d
push dword [ebp]
call fcn.00403ed7
jne 0x405920
invalid
mov eax, dword [section..data]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x44e1f4
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0xa8]
mov dword [esi], 0x1072eec
call int.006a628f
mov ecx, esi
pop esi
jmp fcn.006a4ed0

Function at 0x4bc92d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5398
cmp edx, dword [eax]
je 0x4bc94f
add eax, 8
inc ecx
cmp eax, 0x4c5428
jl 0x4bc940
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5398]
jne 0x4bca7d
mov eax, dword [0x4cad20]
cmp eax, 1
je 0x4bca57
test eax, eax
jne 0x4bc980
cmp dword [0x4c52c4], 1
je 0x4bca57
cmp edx, 0xfc
je 0x4bca7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc9b7
lea eax, [ebp - 0x1a4]
push 0x4c1ad8
push eax
call fcn.004bd310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd7a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc9fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd7a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1ad4
push edi
call fcn.004bf670
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1ab8
push eax
call fcn.004bd310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd320
lea eax, [ebp - 0xa0]
push 0x4c1ab4
push eax
call fcn.004bd320
push dword [esi + 0x4c539c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd320
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1a8c
push eax
call fcn.004bf5e4
add esp, 0x2c
pop edi
jmp 0x4bca7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c539c]
push 0
push eax
push dword [esi]
call fcn.004bd7a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1783058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017831a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x178307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x178306a
add dl, dl
jne 0x1783089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17830dc
xor eax, eax
add dl, dl
jne 0x1783096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x178317d
add dl, dl
jne 0x17830a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17830b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17830bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17830c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17830d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1783075
mov eax, 1
add dl, dl
jne 0x17830ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17830f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17830e1
sub eax, ebx
mov ebx, 1
jne 0x1783128
mov ecx, 1
add dl, dl
jne 0x178310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1783119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1783105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1783075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x178313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x178314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1783136
cmp eax, 0x7d00
jae 0x178316d
cmp eax, 0x500
jb 0x1783168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1783075
cmp eax, 0x7f
ja 0x1783170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1783075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x178319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1783075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10