joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c75d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x4a7618]
cmp eax, 0x270
jl 0x42c695
push esi
push edi
xor edx, edx
mov esi, 0x7fffffff
mov ecx, edx
mov eax, dword [ecx*4 + 0x4a6c4c]
xor eax, dword [ecx*4 + 0x4a6c48]
and eax, esi
xor eax, dword [ecx*4 + 0x4a6c48]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x4a5970]
xor eax, dword [ecx*4 + 0x4a727c]
inc edx
mov dword [ecx*4 + 0x4a6c48], eax
cmp edx, 0xe3
jl 0x42c5ee
cmp edx, 0x26f
jge 0x42c667
lea ecx, [edx*4 + 0x4a6c48]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x4a5970]
xor edi, dword [ecx - 0x38c]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
add ecx, 4
cmp ecx, 0x4a7604
jl 0x42c63b
mov ecx, dword [0x4a7604]
mov eax, dword [0x4a6c48]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x4a5970]
pop edi
xor eax, dword [0x4a7278]
pop esi
mov dword [0x4a7604], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4a6c48]
inc eax
mov dword [0x4a7618], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [0x471288]
cmp eax, dword [0x4a6844]
je 0x42c7a4
xor ecx, ecx
mov dword [0x4a6844], eax
mov dword [0x4a6c48], eax
inc ecx
mov eax, 0x4a6c48
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x4a7604
jl 0x42c77e
mov dword [0x4a7618], ecx
pop esi
jmp 0x42c5d5

Function at 0x42c7d3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x4a5a52], 0
jne 0x42c80c
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x42c7f0
shr eax, 1
xor eax, 0xedb88320
jmp 0x42c7f2
shr eax, 1
dec edx
jne 0x42c7e3
mov dword [ecx*4 + 0x4a6848], eax
inc ecx
cmp ecx, 0x100
jb 0x42c7de
mov byte [0x4a5a52], 1
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
jbe 0x42c838
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4a6848]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x42c817
not eax
ret 8
Function at 0x42cb11
Capabilities:
Encode data using xor

Disassembly:
lea eax, [ecx + 4]
push ebx
mov dword [ecx], eax
mov ecx, dword [esp + 8]
push esi
xor edx, edx
add ecx, 2
push edi
movzx esi, byte [ecx + 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx - 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx - 2]
shl esi, 8
or esi, edi
mov dword [eax + edx*4], esi
inc edx
add ecx, 4
cmp edx, 4
jb 0x42cb22
xor edi, edi
mov ebx, dword [eax + 0xc]
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x473c70]
mov ecx, ebx
and ecx, 0xff
movzx ecx, byte [ecx + 0x473c70]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x473c70]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x473c70]
shl ecx, 8
xor ecx, edx
xor ecx, dword [edi + 0x475e70]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
add edi, 4
xor edx, ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, ebx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
add eax, 0x10
cmp edi, 0x28
jb 0x42cb4e
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret 4

Function at 0x42cbc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push dword [ebp + 8]
lea esi, [eax + 4]
lea ecx, [ebp - 0x114]
mov dword [eax], esi
call fcn.0042cb11
test eax, eax
je 0x42ccb5
mov eax, dword [ebp - 0x114]
add eax, 0xa0
mov ecx, dword [eax]
mov dword [esi], ecx
push 4
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
push ebx
add esi, ecx
mov dword [ebp + 8], 9
sub eax, 0x1c
push edi
mov edx, ecx
movzx edi, byte [eax + 3]
movzx edi, byte [edi + 0x473c70]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + 0x473c70]
mov edi, dword [edi*4 + 0x475a70]
xor edi, dword [ebx*4 + 0x475670]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + 0x473c70]
xor edi, dword [ebx*4 + 0x475270]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + 0x473c70]
xor edi, dword [ebx*4 + 0x474e70]
add eax, ecx
mov dword [esi], edi
add esi, ecx
dec edx
jne 0x42cc23
dec dword [ebp + 8]
sub eax, 0x20
cmp dword [ebp + 8], edx
ja 0x42cc21
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
add esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
push 0x114
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0042b138
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret 4
Function at 0x42e241
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x20]
and esi, 2
push edi
mov eax, 0x8404f700
je 0x42e259
mov eax, 0x8444f700
test byte [ebp + 0x20], 4
je 0x42e264
or eax, 0x800000
mov ecx, dword [ebp + 0x24]
xor ebx, ebx
cmp ecx, ebx
je 0x42e26f
mov dword [ecx], ebx
test byte [ebp + 0x20], 1
mov ecx, 0x471918
jne 0x42e27f
mov ecx, 0x471920
push ebx
push eax
push 0x4a5028
push ebx
push 0x47190c
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
call dword [0x471578]
mov edi, eax
cmp edi, ebx
je 0x42e33b
cmp esi, ebx
je 0x42e2af
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x20], ebx
jmp 0x42e2bd
mov dword [ebp + 0xc], 0x479ea4
mov dword [ebp + 0x20], 0x13
cmp dword [ebp + 0x18], ebx
je 0x42e2e3
xor esi, esi
cmp dword [ebp + 0x1c], ebx
jbe 0x42e2e3
mov eax, dword [ebp + 0x18]
push 0xa0000000
push 0xffffffffffffffff
push dword [eax + esi*4]
push edi
call dword [0x47158c]
inc esi
cmp esi, dword [ebp + 0x1c]
jb 0x42e2c9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x20]
push dword [ebp + 0xc]
push edi
call dword [0x47155c]
test eax, eax
je 0x42e334
push ebx
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
push 0x20000013
push edi
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x18], 4
call dword [0x47157c]
test eax, eax
je 0x42e334
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
cmp ecx, ebx
je 0x42e329
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x42e334
mov eax, edi
jmp 0x42e33d
push edi
call dword [0x471534]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x20

Function at 0x42e831
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [eax]
sub edx, dword [ebp + 8]
xor ecx, ecx
sub esp, 0xc
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
cmp dword [ebp + 8], ecx
jbe 0x42e8c4
mov edx, dword [eax + 0x4c]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x58]
push ebx
push esi
mov esi, dword [eax + 0x54]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x5c]
push edi
mov edi, dword [eax + 0x50]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x48]
sub edi, esi
movzx ebx, byte [edx + ecx]
movzx eax, byte [edx + ecx + 1]
shl ebx, 5
xor eax, ebx
movzx ebx, byte [edx + ecx + 2]
dec dword [ebp + 8]
shl eax, 5
xor eax, ebx
mov ebx, dword [ebp - 4]
imul eax, eax, 0x9f5f
shr eax, 5
and eax, 0xffff
mov ebx, dword [ebx + eax*4]
mov dword [edi + esi], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx + eax*4], ecx
mov ebx, dword [ebp - 8]
mov dword [esi], 0x801
inc dword [ebx + eax*4]
movzx eax, word [edx + ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx + eax*4], ecx
inc ecx
add esi, 4
cmp dword [ebp + 8], 0
ja 0x42e869
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42ecf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jbe 0x42ed75
push ebx
push esi
mov esi, dword [edi + 0x34]
mov edx, edi
call fcn.0042eb25
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x48]
lea edx, [ecx + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + 1]
shl eax, 5
xor eax, esi
movzx esi, byte [edx + 2]
mov ebx, dword [edi + 0x50]
shl eax, 5
xor eax, esi
mov esi, dword [edi + 0x4c]
imul eax, eax, 0x9f5f
shr eax, 5
and eax, 0xffff
shl eax, 2
add esi, eax
mov dword [ebp - 4], esi
mov esi, dword [esi]
mov dword [ebx + ecx*4], esi
mov esi, dword [ebp - 4]
mov dword [esi], ecx
mov esi, dword [edi + 0x54]
mov dword [esi + ecx*4], 0x801
mov esi, dword [edi + 0x58]
inc dword [eax + esi]
movzx eax, word [edx]
mov edx, dword [edi + 0x5c]
mov dword [edx + eax*4], ecx
mov eax, edi
call fcn.0042ec88
dec dword [ebp + 8]
jne 0x42ed00
pop esi
pop ebx
leave
ret 4
Function at 0x432d0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
test byte [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
push esi
push edi
mov dword [ebp - 8], edx
je 0x432db2
xor eax, eax
call fcn.00432bdd
mov esi, eax
test esi, esi
je 0x432db2
mov ebx, 0xfff0ffff
mov edi, 0x70000000
cmp dword [esi], 0
jbe 0x432da2
mov eax, dword [esi + 4]
test eax, 0xc0000
je 0x432d52
and dword [esi], 0
jmp 0x432da2
and eax, ebx
mov dword [esi + 4], eax
and eax, edi
mov dword [ebp - 0xc], eax
mov eax, esi
jmp 0x432d7c
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x432d7c
mov ecx, dword [eax + 4]
and ecx, edi
cmp ecx, dword [ebp - 0xc]
jne 0x432d7c
test dword [eax + 4], 0xe0000
jne 0x432d8a
and dword [eax], 0
mov edx, dword [ebp - 8]
call fcn.00432bdd
test eax, eax
jne 0x432d60
jmp 0x432da2
and dword [esi], 0
mov ecx, dword [eax + 4]
test ecx, 0x80000
je 0x432d9d
and dword [eax], 0
jmp 0x432da2
and ecx, ebx
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00432bdd
mov esi, eax
test esi, esi
jne 0x432d3e
call fcn.00432996
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x432ed3
xor eax, eax
jmp 0x432e23
cmp dword [edi], 0
jbe 0x432e21
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0x14]
add ebx, 0x10
add eax, ebx
lea esi, [ebp - 0xc]
call fcn.0042b000
test al, al
je 0x432eca
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
add eax, esi
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x432e1b
push ecx
lea ecx, [edi + 0x10]
push ecx
add eax, 0x10
push eax
call fcn.0042b0c1
inc dword [esi + 0x1c]
add dword [esi + 0x14], ebx
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00432bdd
mov edi, eax
test edi, edi
jne 0x432dc8
test esi, esi
je 0x432e56
mov eax, dword [esi + 0x14]
test al, 0xf
je 0x432e56
lea edi, [eax + 0xf]
and edi, 0xfffffff0
mov eax, edi
lea esi, [ebp - 0xc]
call fcn.0042b000
test al, al
je 0x432eca
mov esi, dword [ebp - 0xc]
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x14]
sub eax, 0x30
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.0042c6c9
test al, al
je 0x432ecd
push 0
push 0x14
push esi
call fcn.0042cad7
cmp dword [ebp + 0x10], 0
mov edi, dword [esi + 0x14]
je 0x432eb9
xor eax, eax
inc eax
cmp edi, eax
jbe 0x432e94
mov cl, byte [eax + esi - 1]
xor byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x432e88
cmp edi, 0x64000
jb 0x432ea2
test byte [ebp + 0xc], 2
je 0x432eb9
push 0x10
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b0c1
push edi
push eax
mov eax, esi
call fcn.0042d723
push dword [ebp - 8]
call fcn.0042b085
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
jmp 0x432ed5
mov esi, dword [ebp - 0xc]
push esi
call fcn.0042b085
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x432edc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
test byte [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
push esi
push edi
mov dword [ebp - 4], edx
je 0x432f85
xor eax, eax
call fcn.00432bdd
mov esi, eax
test esi, esi
je 0x432f85
mov ebx, 0xfff0ffff
mov edi, 0x70000000
cmp dword [esi], 0
jbe 0x432f75
mov eax, dword [esi + 4]
test eax, 0xc0000
je 0x432f25
and dword [esi], 0
jmp 0x432f75
and eax, ebx
mov dword [esi + 4], eax
and eax, edi
mov dword [ebp - 8], eax
mov eax, esi
jmp 0x432f4f
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x432f4f
mov ecx, dword [eax + 4]
and ecx, edi
cmp ecx, dword [ebp - 8]
jne 0x432f4f
test dword [eax + 4], 0xe0000
jne 0x432f5d
and dword [eax], 0
mov edx, dword [ebp - 4]
call fcn.00432bdd
test eax, eax
jne 0x432f33
jmp 0x432f75
and dword [esi], 0
mov ecx, dword [eax + 4]
test ecx, 0x80000
je 0x432f70
and dword [eax], 0
jmp 0x432f75
and ecx, ebx
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00432bdd
mov esi, eax
test esi, esi
jne 0x432f11
call fcn.00432996
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x433083
xor eax, eax
jmp 0x432ff6
cmp dword [edi], 0
jbe 0x432ff4
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0x14]
add ebx, 0x10
add eax, ebx
lea esi, [ebp - 8]
call fcn.0042b000
mov esi, dword [ebp - 8]
test al, al
je 0x43307d
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
add eax, esi
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x432fee
push ecx
lea ecx, [edi + 0x10]
push ecx
add eax, 0x10
push eax
call fcn.0042b0c1
inc dword [esi + 0x1c]
add dword [esi + 0x14], ebx
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00432bdd
mov edi, eax
test edi, edi
jne 0x432f9b
mov eax, dword [esi + 0x14]
sub eax, 0x30
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.0042c6c9
test al, al
je 0x43307d
push edi
push 0x14
push esi
call fcn.0042cad7
cmp dword [ebp + 0x10], 0
mov edi, dword [esi + 0x14]
je 0x43306c
xor eax, eax
inc eax
cmp edi, eax
jbe 0x433041
mov cl, byte [eax + esi - 1]
xor byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x433035
cmp edi, 0x64000
jb 0x43304f
test byte [ebp + 0xc], 2
je 0x43306c
push 0x103
push dword [ebp + 0x10]
lea eax, [ebp - 0x10c]
push eax
call fcn.0042b0c1
push edi
push esi
mov edx, eax
call fcn.0042c92d
push dword [ebp - 4]
call fcn.0042b085
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
jmp 0x433085
push esi
call fcn.0042b085
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43308c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, eax
lea eax, [edi - 0x30]
cmp eax, 0x31fffd0
ja 0x433107
cmp dword [ebp + 8], 0
je 0x4330d1
push 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0042b0c1
push edi
push eax
mov eax, esi
call fcn.0042d7a8
test edi, edi
je 0x4330d1
lea eax, [edi - 1]
test eax, eax
je 0x4330d1
mov cl, byte [eax + esi - 1]
xor byte [eax + esi], cl
dec eax
jne 0x4330c7
cmp dword [esi + 0x14], edi
ja 0x433107
call fcn.00432967
test al, al
je 0x433107
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x30]
test ecx, ecx
je 0x433102
cmp dword [esi + 0x14], 0x40
jbe 0x433102
test ecx, ecx
je 0x4330fd
dec ecx
mov edx, dword [eax + 8]
lea eax, [eax + edx + 0x10]
jne 0x4330f3
sub eax, esi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
jmp 0x433109
xor eax, eax
pop esi
leave
ret 4

Function at 0x43310e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, eax
lea eax, [edi - 0x30]
cmp eax, 0x31fffd0
ja 0x43316f
cmp dword [ebp + 8], 0
je 0x43315c
push 0x103
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0042b0c1
push edi
push esi
mov edx, eax
call fcn.0042c92d
test edi, edi
je 0x43315c
lea eax, [edi - 1]
test eax, eax
je 0x43315c
mov cl, byte [eax + esi - 1]
xor byte [eax + esi], cl
dec eax
jne 0x433152
cmp dword [esi + 0x14], edi
ja 0x43316f
call fcn.00432967
test al, al
je 0x43316f
mov eax, dword [esi + 0x14]
jmp 0x433171
xor eax, eax
pop esi
leave
ret 4
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
jmp loc.00409cc1
Function at 0x403e58
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 0x403ebe
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.00403374
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402824
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403ea8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ec5
lea eax, [ebp - 0x10]
call fcn.00403208
ret

Function at 0x404b68
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
jmp 0xc0744b7e
push ebp
push 0x404c2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403208
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x404c19
mov eax, ebx
mov edx, 0x73
call fcn.0040366c
push 0
lea eax, [ebp - 8]
push eax
push 0x73
mov eax, ebx
call fcn.004035dc
push eax
push esi
call sub.kernel32.dll_ReadFile
push esi
call sub.kernel32.dll_CloseHandle
mov edx, dword [ebx]
mov eax, 0x404c44
call fcn.00403624
test eax, eax
jne 0x404bfa
mov eax, ebx
call fcn.00403208
jmp 0x404c19
push ebx
mov edx, dword [ebx]
mov eax, 0x404c50
call fcn.00403624
mov ecx, eax
dec ecx
sub ecx, 0x50
mov eax, dword [ebx]
mov edx, 0x51
call fcn.004035e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404c36
lea eax, [ebp - 4]
call fcn.00403208
ret

Function at 0x404c54
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
xor eax, eax
push ebp
push 0x404cfc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
call sub.kernel32.dll_OpenFile
mov esi, eax
cmp esi, 0xffffffff
je 0x404ce1
lea eax, [ebp - 8]
mov edx, 0x186a0
call fcn.0040366c
push 0
lea eax, [ebp - 0xc]
push eax
push 0x186a0
lea eax, [ebp - 8]
call fcn.004035dc
push eax
push esi
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x404ce1
push esi
call sub.kernel32.dll_CloseHandle
mov edx, dword [ebp - 8]
mov eax, 0x404d14
call fcn.00403624
test eax, eax
jle 0x404ce1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d03
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret