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

Disassembly:
push 0xffffffffffffffff
push 0x606a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0059a580
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x59c9d9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.005978f0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.005978e0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0059c030
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x60a6cc]
push 0
lea ecx, [esp + 0x4c]
call fcn.005fb306
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.005aa980
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00599fe0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x60a178]
mov ecx, ebx
call fcn.00597860
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x59caa4
push edi
mov ecx, esi
call fcn.0059a0f0
push eax
push ebp
mov ecx, esi
call fcn.0059a2b0
cmp eax, dword [esp + 0x40]
jg 0x59caa0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x59ca7e
mov eax, ebx
jmp 0x59caaa
cmp edi, ebx
jl 0x59caa8
mov eax, ebx
jmp 0x59caaa
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x59cabb
mov dword [esp + 0x30], eax
jmp 0x59cac6
cmp edi, ebx
jl 0x59cac1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00597820
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x59cb0d
push edi
mov ecx, esi
call fcn.0059a010
push eax
push ebx
mov ecx, esi
call fcn.0059a3e0
cmp eax, dword [esp + 0x44]
jg 0x59cb05
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x59cadf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x59cb17
cmp edi, ebp
jl 0x59cb11
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x59cb17
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x59cb20
mov ecx, eax
jmp 0x59cb29
cmp edi, ebp
jl 0x59cb26
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0059a000
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.005fb378
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x5a2a50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x606f08
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x5a2a89
inc eax
mov dword [esi + 0x10], eax
jmp 0x5a2b9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x5a2a9d
mov eax, 0xffffffc7
jmp 0x5a2b9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x5a2aae
cmp dword [esi + 8], eax
jne 0x5a2a9d
cmp dword [esi + 8], eax
jne 0x5a2ac7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x5a2ac7
mov eax, 0xffffffc7
jmp 0x5a2b9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x5a2adb
push eax
mov ecx, ebx
call fcn.005a2280
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.005698d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5a2b0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.005698f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.005a19f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x5a2b3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf82950
call fcn.00569ad0
mov eax, dword [esp + 0x38]
jmp 0x5a2b9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.005a28b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x5a2b83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.005a28d0
mov esi, eax
test esi, esi
jne 0x5a2bb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.005a28b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x5a2b55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf82950
call fcn.00569ad0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xf82950
call fcn.00569ad0
mov eax, esi
jmp 0x5a2b9e
Function at 0x5aafe0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6075a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x60a6cc]
push 0
lea ecx, [esp + 0x20]
call fcn.005fb306
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.005aa980
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005fb234
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005f782d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005f782d
push 1
push 0
push 0
mov ecx, esi
call fcn.005f77d5
push 1
push 0
push 1
mov ecx, esi
call fcn.005f77d5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005fb378
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x5ab160
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6075c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005fb306
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.005aa980
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005fb234
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x60a6cc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x5ab224
cmp dword [esp + 0x40], 1
jne 0x5ab222
cmp ecx, eax
jge 0x5ab224
mov eax, ecx
cmp eax, 0xc8
jge 0x5ab230
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.005aafe0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x60a6c8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005fb378
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5ab9b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x607633
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005f5c14
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xf8ca58
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xf86478
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x60a054]
push eax
mov ecx, edi
call fcn.005fb5ae
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005fe0b7
test eax, eax
je 0x5abacc
mov ecx, dword [esp + 0x3c]
call fcn.005fb5db
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x60a6ec]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x5aba90
push edi
mov ecx, esi
call fcn.005f8b76
mov ecx, esi
call fcn.005abc30
cmp dword [esp + 0x38], 1
jne 0x5abac5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005f8d09
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x5ae510
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x5ae543
push esi
call fcn.005b1610
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x5ae53c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x5ae5c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5ae5b2
mov eax, dword [esi + 8]
test eax, eax
je 0x5ae567
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5ae5ae
cmp eax, 2
je 0x5ae5b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5ae55a
cmp eax, 3
je 0x5ae58d
cmp eax, 1
jne 0x5ae55a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5ae55a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5ae55a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005ae5f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5ae5d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.005ae5f0
add esp, 4
pop esi
ret
Function at 0x5ccf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x608508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005ccb60
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.005ccbd0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005cceb0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.005ccb80
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x5ccf98
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x608508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005ccb60
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.005ccbd0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005cceb0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.005ccb80
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x5cf960
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5cf96b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5cfa6e
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
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 + 0xf8a68c]
xor eax, edx
inc ecx
dec edi
jne 0x5cf986
pop edi
test esi, esi
je 0x5cfa90
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xf8a68c]
xor eax, edx
inc ecx
dec esi
jne 0x5cfa72
pop esi
pop ebx
not eax
ret
Function at 0x5d6400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x5d6555
cmp di, 0x801
ja 0x5d6555
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x5d6555
cmp bx, 0xc
ja 0x5d6555
mov al, byte [esp + 0x30]
test al, al
je 0x5d6454
push edi
call fcn.005d6990
add esp, 4
cmp ax, bx
je 0x5d6454
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.005d6560
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.005d6380
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x5d6555
test ebx, ebx
jne 0x5d64e9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x5d654b
test al, al
je 0x5d64dc
push 0xffffffffffffffe1
jmp 0x5d64de
push 0x1f
push ebp
push edi
push esi
call fcn.005d6330
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.005d6330
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.005d6560
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.005d6380
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x5d64b6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x5d7be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x608848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x10129ac
lea ecx, [esp + 4]
call fcn.005f461a
push 0xfb8b70
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.005f461a
push 0xfb8b6c
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.005f461a
push 0xfb8b68
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.005f461a
push 0xfb8b64
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.005f461a
push 0xfb8b60
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.005f461a
push 0xfb8b5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.005f461a
push 0xfb8b58
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.005f461a
push 0xfb8b54
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.005f461a
push 0xfb8b50
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.005f461a
push 0xfb8b4c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.005f461a
push 0xfb8b48
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.005f461a
push 0xfb8b44
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.005f461a
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x5d7d10
cmp eax, 0xc
jle 0x5d7d10
mov ecx, dword [esp + 0x48]
push 0x10129ac
call fcn.005f4735
jmp 0x5d7d1e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.005f46e5
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.005f45ac
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.005f45ac
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.005f45ac
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.005f45ac
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.005f45ac
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.005f45ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.005f45ac
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.005f45ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.005f45ac
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.005f45ac
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.005f45ac
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.005f45ac
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005f45ac
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4045d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406e6c
test esi, esi
jne 0x404610
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406fa8
jmp 0x40462e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044bc
mov edi, eax
test esi, esi
je 0x40462e
cmp dword [ebx], 0
je 0x40462e
dec esi
jmp 0x404617
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4062fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b5050], 0
je 0x40635d
cmp word [0x4b532c], 0xd7b2
jne 0x406325
cmp dword [0x4b5334], 0
jbe 0x406325
mov eax, 0x4b5328
call dword [0x4b5344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x406388
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b2030], 0
jne 0x406379
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4064e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4b2038], 0
je 0x40650e
mov edx, esi
mov eax, ebx
call dword [0x4b2038]
jmp 0x40651d
mov eax, 8
call fcn.00404204
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4b5051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4064b0
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408b7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408ce3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406e6c
cmp si, word [0x4b27e0]
jb 0x408c16
cmp si, word [0x4b29e0]
ja 0x408c16
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408c16
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4b27e0]
jae 0x408bf0
mov edi, ebx
dec edi
jmp 0x408c11
cmp si, word [ebx*8 + 0x4b27e0]
jbe 0x408c00
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408c11
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4b27e4]
call fcn.00408a8c
jmp 0x408c16
cmp edi, dword [ebp - 0xc]
jae 0x408bda
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408cc5
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408cc5
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407054
push dword [ebp - 0x164]
push 0x408d00
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00407054
push dword [ebp - 0x168]
push 0x408d10
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407054
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.0040740c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408cea
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406e64
ret
Function at 0x408e9c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408fa1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b7b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b7b70]
jne 0x408ee8
mov eax, esi
mov edx, 0x4b7b74
mov ecx, 0x55
call fcn.00407054
push 0x4b7b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408f8b
push 0x4b7b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406e6c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408f59
cmp byte [0x4b7b54], 0
je 0x408f1e
mov edx, esi
mov eax, ebx
call fcn.00408d7c
jmp 0x408f59
mov edx, esi
mov eax, ebx
call fcn.00408b7c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408f59
cmp dword [esi], 0
je 0x408f42
mov eax, esi
mov edx, 0x408fbc
call fcn.00407268
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408b7c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407268
push 0x4b7b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b7b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406ef8
push eax
push 0x4b7b74
call sub.kernel32.dll_lstrcpynW
push 0x4b7b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408fa8
lea eax, [ebp - 4]
call fcn.00406e5c
ret