joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47583a
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea ebp, [esi + 4]
mov ecx, ebp
call fcn.0045b416
mov al, byte [esp + 0x2c]
mov cl, byte [esp + 0x2c]
xor ebx, ebx
push 0x18
mov dword [esp + 0x28], ebx
mov byte [esi + 8], al
mov byte [esi + 9], cl
mov byte [esi + 0x10], bl
call fcn.0045b52a
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x14], 1
call fcn.0059ddb2
nop
cmp dword [0x579d08], ebx
jne 0x4758a4
mov dword [0x579d08], edi
mov dword [edi], ebx
mov edx, dword [0x579d08]
mov dword [esp + 0x10], ebx
mov dword [edx + 8], ebx
mov edx, dword [0x579d04]
lea ecx, [esp + 0x14]
inc edx
mov dword [0x579d04], edx
call dword [0x4bbe80]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4758cc
push eax
call fcn.0045b51e
add esp, 4
mov edi, dword [0x579d08]
push 0x18
call fcn.0045b52a
mov dword [eax + 4], edi
mov dword [eax + 0x14], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [eax], eax
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, ebp
mov byte [esp + 0x28], 1
mov dword [esi], eax
call fcn.0045b548
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x482830
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x48284b
cmp ebx, 8
jg 0x48284b
mov eax, 1
jmp 0x48284d
xor eax, eax
mov esi, dword [esp + 0x14]
push str.bad_pack_level
push eax
push esi
call fcn.004810b0
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x482884
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x50b6ea]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x50b6e8]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x50b6ec]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x50b6ee]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x4828e5
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x4828f1
cmp ebx, 8
jl 0x4828f1
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x48296a
cmp eax, 0xffffffff
je 0x48296a
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x482935
push esi
call fcn.00482b80
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x48293d
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x483c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x483c0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x483d0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x50b738]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50b738]
xor eax, edx
inc ecx
dec edi
jne 0x483c26
pop edi
test esi, esi
je 0x483d30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50b738]
xor eax, edx
inc ecx
dec esi
jne 0x483d12
pop esi
pop ebx
not eax
ret

Function at 0x483d40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x50b738]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x50b738]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x487310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x48731b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x48741e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x50b738]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50b738]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50b738]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50b738]
xor eax, edx
inc ecx
dec edi
jne 0x487336
pop edi
test esi, esi
je 0x487440
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50b738]
xor eax, edx
inc ecx
dec esi
jne 0x487422
pop esi
pop ebx
not eax
ret

Function at 0x487450
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x50b738]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x50b738]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x4889c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x4889dc
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x4889ed
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x4889fb
push edi
call fcn.00488de0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.004887c0
add esp, 0x10
test eax, eax
je 0x488a23
pop edi
pop esi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push 0x84
call fcn.0045b52a
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x488a42
pop edi
pop esi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call fcn.0045b52a
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x488a7b
push esi
call fcn.0045b51e
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x488ac9
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004876e0
add esp, 4
test eax, eax
jne 0x488ac9
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x488af6
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x488b02
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
neg cl
sbb ecx, ecx
mov dword [ebx], 0x12345678
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], 0x34567890
je 0x488b43
mov al, byte [ebp]
test al, al
je 0x488b43
push eax
push ebx
call fcn.00487450
add esp, 8
inc ebp
jne 0x488b2f
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
pop ebp
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x494550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b938b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x50d6d8
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4945e0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4945a7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x4bb0e8]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4945d1
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0045b8cc
jmp 0x4945e6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0045b8cc
jmp 0x4945e6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4bcc14
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0045b818
mov ecx, esi
mov dword [edi], 0x4bc630
mov dword [esp + 0x1c], 0xffffffff
call fcn.0045b8ae
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4960a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.0057e9a4
nop
mov edi, 0x534e14
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.005a6d70
nop
test al, al
je 0x49611f
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x534e14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x40], 1
call fcn.0059d05b
nop
test al, al
je 0x496175
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov edi, dword [ecx + 0xbc]
lea esi, [ecx + 0xb8]
mov ecx, esi
mov edx, dword [edi + 4]
push edx
push edi
call fcn.00497f70
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00497fa0
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esp, 8
inc edx
mov dword [esi + 8], edx
mov esi, dword [eax + 0xc0]
dec esi
cmp ecx, ebx
je 0x4961ec
mov al, byte [ecx - 1]
cmp al, bl
je 0x4961e2
cmp al, 0xff
je 0x4961e2
dec al
mov byte [ecx - 1], al
jmp 0x4961ec
dec ecx
push ecx
call fcn.0045b51e
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x584fcf
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x44d177
pushfd
push esi
push dword [esp]
mov eax, dword [eax + 0x155c83]
jmp 0x5a8bb1
mov byte [esp], 0xa9
lea esp, [esp + 0x50]
call fcn.005aace0
setno bl
not bx
mov ebx, eax
lea eax, [eax - 0x6cf4fbf9]
pop eax
pushal
mov word [esp + 4], sp
pushfd
push dword [esp]
lea esp, [esp + 0x28]
jmp fcn.00484013

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

Disassembly:
push dword [esp + 4]
push dword [esp + 4]
mov eax, dword [eax + 0x186670]
mov byte [esp], dl
mov word [esp], sp
call fcn.005b7471

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

Disassembly:
lea eax, [0x7c0215a]
mov eax, 0x47f812
mov word [esp], dx
mov eax, dword [eax + 0x106907]
pushfd
push 0x8966fa8e
pushal
lea esp, [esp + 0x2c]
call fcn.005aace0
call fcn.005cf9dd

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

Disassembly:
mov byte [esp], 0xce
mov dword [esp], eax
mov al, 0x14
not al
push 0x251582d7
setnp al
mov eax, 0x42f6c2
call fcn.005bbfd5

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

Disassembly:
mov eax, 0x4953a8
pushal
mov eax, dword [eax + 0x105036]
call fcn.00591d96

Function at 0x597e5e
Capabilities:
Access peb ldr_data

Disassembly:
not al
pop eax
mov eax, dword [esp + 0x24]
push dword [esp + 4]
push dword [esp]
lea esp, [esp + 0x30]
jmp fcn.0041234e

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

Disassembly:
pushfd
pushfd
push dword [esp]
mov eax, dword [eax + 0x13232c]
pushal
push edx
push ebp
lea esp, [esp + 0x40]
call fcn.005aace0
push esp
push ebp
call fcn.005915f9

Function at 0x59eaa2
Capabilities:
Encode data using xor

Disassembly:
cwde
add byte [eax], al
pushfd
push 0x790aaf6
push 0x133c738e
call fcn.005ab0fb
idiv byte [eax]
inc ebp
das
xchg ebp, eax
adc esp, edi
outsb dx, byte [esi]
mov al, byte [0xdec050a3]
sub ah, byte [ecx]
push esi
test byte [esp + eax*4 + 0x25], cl
loop 0x59eb14
bound ebx, qword [esi + 0xc50161d]
jle 0x59ea9f
xchg edx, eax
xor byte [ebp - 0x796723c5], 0x43
mov al, 0xb0
daa
push ebx
jle 0x59ead2
sbb edx, dword [edi]
rol byte [eax - 0x7a], 0x56
ret 0x1cce

Function at 0x5a6a03
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x59b334
push 0xb745817e
jmp 0x59d101

Function at 0x5a961f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
bswap ax
cwde
mov eax, dword [esp + 0xc]
pushfd
lea esp, [esp + 0x14]
jmp fcn.004a5b63

Function at 0x5b2b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
lea esp, [esp + 0x34]
call fcn.005aace0
lea ebx, [edi + 0x776adc7b]
mov ebx, eax
movsx ax, cl
pop eax
pushal
pushfd
pushal
lea esp, [esp + 0x44]
jmp fcn.004a4dc3
pushfd
mov eax, dword [eax + 0x12f751]
mov byte [esp + 0x10], ah
jmp 0x5a07e9
Function at 0x5b3108
Capabilities:
Encode data using xor

Disassembly:
xchg dword [esp + 4], eax
push ebx
cwde
mov eax, 0x456234
push 0x8e9a1eca
pushal
call fcn.005d31b3
add dword [edi - 0x32979fb3], 0x878031a8
inc esp
and al, 0x20
lea eax, [ebx - 0x37814ee5]
not ax
push 0xe8c07c6f
mov eax, 0x4965a1
push dword [esp]
mov eax, dword [eax + 0xea278]
mov byte [esp], ah
pushfd
lea esp, [esp + 0x2c]
call fcn.005aace0
pushfd
pop edi
mov di, si
mov edi, eax
not ax
pushfd
mov eax, dword [esp + 4]
pushfd
mov byte [esp], dh
lea esp, [esp + 0xc]
jmp fcn.0045082e

Function at 0x5b7e8e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
not bh
mov ebx, eax
cwde
not al
mov eax, dword [esp + 4]
mov byte [esp + 4], 0xa6
pushal
push 0x1be9d46a
pushfd
lea esp, [esp + 0x30]
jmp fcn.004a5543
jmp 0x5b742a

Function at 0x5c9c91
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [eax + 0x169a0d]
push 0xd330db7c
call fcn.0057d86c

Function at 0x5c9ca1
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov dword [esp + 0x1c], eax
setl al
lea eax, [edi*8 + 0x2d4a0ef1]
pushal
mov eax, 0x40bc81
call fcn.005bff67

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

Disassembly:
mov eax, dword [eax + 0x1b6a98]
call fcn.005a57d2
fmul qword [ebp - 0x77]
or byte [ecx + 0x42d9a2f5], 0x77
sbb al, 0x9c
inc eax
push ebp
xchg ecx, eax
wait
push edi
inc ecx
test byte [esi + edi*2 - 0x540cd899], dl
invalid

Function at 0x4027b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4027c0
repz ret
jmp fcn.00402b93
Function at 0x402e54
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ead
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402cf0
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402cf0
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e97
inc ebx
jmp 0x402e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402eb4
lea eax, [ebp - 8]
call fcn.00404ae4
ret

Function at 0x402ebc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ae4
test esi, esi
jne 0x402ef3
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404bd4
jmp 0x402f14
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cf0
mov dword [esp], eax
test esi, esi
je 0x402f14
cmp dword [ebx], 0
je 0x402f14
dec esi
jmp 0x402efb
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403b84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403bfc
xor eax, eax
push ebp
push 0x403bf5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403bfc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48c020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404960
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48e048], 0
je 0x4049c1
cmp word [0x48e21c], 0xd7b2
jne 0x404989
cmp dword [0x48e224], 0
jbe 0x404989
mov eax, 0x48e218
call dword [0x48e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48c070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4049e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48c030], 0
jne 0x4049dd
push 0
push 0x48c068
push 0x48c070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406988
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4069ee
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404d54
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403718
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069f5
lea eax, [ebp - 0x10]
call fcn.00404ae4
ret

Function at 0x409888
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404fa4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4098a1
test al, 0x10
jne 0x4098a5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c484
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c4bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bd4
jmp 0x40c4c6
mov eax, ebx
mov edx, esi
call fcn.00404b38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c4d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c4f1
mov al, byte [esp]
jmp 0x40c4f3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cb88
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c9f0
mov eax, dword [0x48d5b4]
cmp byte [eax], 0
je 0x40cc04
mov eax, dword [0x48d368]
call fcn.00403340
call fcn.00402c1c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409bf0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cc4c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cc3a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48d304]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e664]
call fcn.00405df4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret