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

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x579a3e
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax + 0x270]
mov edi, esi
not edi
and edi, 0x270
and esi, 0x58f
sub esi, edi
mov edi, dword [ecx + esi*4 + 8]
lea ebp, [edi - 0x80000000]
mov ebx, edi
or ebx, 0x7ffffffe
and ebx, ebp
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
or ebx, ebp
mov ebp, esi
and ebp, 0x18d
xor esi, 0x18d
lea esi, [esi + ebp*2]
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 4]
shr ebx, 1
xor edi, ebx
mov dword [ecx + eax*4 + 0x9c4], edi
inc eax
cmp eax, 0x270
jne 0x5799d0
mov eax, 0x270
jmp 0x579a50
cmp eax, 0x4e0
jb 0x579a50
mov esi, ecx
call fcn.00579aa0
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov edx, dword [ecx + eax*4 + 4]
mov eax, edx
shr eax, 0xb
and eax, dword [ecx + 0x1384]
xor eax, edx
mov ecx, eax
shl ecx, 7
and ecx, 0x9d2c5680
mov edx, ecx
and edx, eax
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x579aa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0x70
mov esi, eax
or esi, 0x270
add esi, edi
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
mov edi, dword [ecx + esi*4 + 8]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
shr ebx, 1
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 0x638]
xor edi, ebx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x579ab0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x579b00
mov edx, 0x80000000
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7fffffff
or edx, esi
shr edx, 1
xor eax, 0x7ffffffe
and eax, esi
je 0x579b62
mov eax, 0x9908b0df
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
xor eax, dword [ecx + 0x634]
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x57ac00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
push eax
sub esp, 8
mov dword [ebp - 0x14], esp
sub esp, 0x40
mov dword [ebp - 0x1c], esp
sub esp, 0x80
mov dword [ebp - 0x20], esp
mov eax, dword [0x5b9d3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x234], 0xc1c6cfc4
mov word [ebp - 0x230], 0
xor ecx, ecx
nop
mov edx, ecx
not edx
movzx esi, byte [ebp + ecx - 0x234]
lea ebx, [ecx + 0xd1]
mov edi, 0x2e
sub edi, ecx
xor ebx, edi
and ebx, esi
xor ebx, edi
mov al, 0xea
sub al, bl
mov byte [ebp + ecx - 0x234], al
and edx, 6
mov eax, ecx
and eax, 1
xor ecx, 0xfffffffe
or ecx, edx
not ecx
lea ecx, [ecx + eax*2]
cmp ecx, 6
jb 0x57ac40
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x1b4], 0x63f161f7
mov dword [ebp - 0x1b0], 0x67c965b6
mov dword [ebp - 0x1ac], 0x5b88598b
mov dword [ebp - 0x1a8], 0x5ffa5d82
mov dword [ebp - 0x1a4], 0x53ce51cc
mov word [ebp - 0x1a0], 0x5554
mov dword [ebp - 0x19e], 0
mov byte [ebp - 0x19a], 0
mov edx, 0x5bcc3c98
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ebp + edx - 0x5bcc3e4c]
xor ebx, edx
mov esi, ebx
and esi, 5
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 7
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x5bcc3e4c], bl
inc edx
cmp edx, 0x5bcc3cb3
jne 0x57ace0
lea esi, [ebp - 0x1b4]
push ecx
push 0
push esi
call dword [ebp - 0x10]
mov ecx, 0x5b9d40
push eax
call 0x5aa5b0
movzx eax, al
mov eax, dword [eax*4 + 0x5b3958]
mov ecx, 0x7bbfa073
xor ecx, dword [0x5b3960]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x57d230
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
push eax
sub esp, 0x2c
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x28], esp
mov eax, dword [0x5b9d0c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], 0x61176733
mov dword [ebp - 0x224], 0x7d1963ea
mov dword [ebp - 0x220], 0x790a7f08
mov dword [ebp - 0x21c], 0x754b7b1b
mov dword [ebp - 0x218], 0x7140773b
mov dword [ebp - 0x214], 0x8d527340
mov dword [ebp - 0x210], 0x89e78fb4
mov dword [ebp - 0x20c], 0x85fc8bf3
mov dword [ebp - 0x208], 0x81f787f8
mov dword [ebp - 0x204], 0x9d0f8309
mov dword [ebp - 0x200], 0x99c89fbc
mov dword [ebp - 0x1fc], 0x95ba9bf4
mov dword [ebp - 0x1f8], 0x91a697a7
mov dword [ebp - 0x1f4], 0xada293a6
mov dword [ebp - 0x1f0], 0xa98eafe9
mov dword [ebp - 0x1ec], 0xa5d1abc1
mov dword [ebp - 0x1e8], 0xa1e8a7d2
mov dword [ebp - 0x1e4], 0xbde7a3ec
mov dword [ebp - 0x1e0], 0xb936bf9c
mov dword [ebp - 0x1dc], 0xb5f6bbf6
mov dword [ebp - 0x1d8], 0xb196b78f
mov dword [ebp - 0x1d4], 0xcdc2b3f3
mov dword [ebp - 0x1d0], 0xc9bacfbc
mov dword [ebp - 0x1cc], 0xc5a3cbb7
mov dword [ebp - 0x1c8], 0xc1a4c7bb
mov dword [ebp - 0x1c4], 0xddb9c395
mov dword [ebp - 0x1c0], 0xd9efdf50
mov dword [ebp - 0x1bc], 0xd597db97
mov dword [ebp - 0x1b8], 0xd1e0d79d
mov dword [ebp - 0x1b4], 0xed9cd39d
mov dword [ebp - 0x1b0], 0xe9d6efcc
mov dword [ebp - 0x1ac], 0xe5b2ebbd
mov dword [ebp - 0x1a8], 0xe1b1e788
mov dword [ebp - 0x1a4], 0xfdd6e3b4
mov dword [ebp - 0x1a0], 0xf98affdc
mov dword [ebp - 0x19c], 0xf58ffb83
mov dword [ebp - 0x198], 0xf1d6f78b
mov dword [ebp - 0x194], 0xd8df3a9
mov dword [ebp - 0x190], 0x97b0f71
mov dword [ebp - 0x18c], 0x5310b79
mov dword [ebp - 0x188], 0x15b0724
mov dword [ebp - 0x184], 0x1d700378
mov dword [ebp - 0x180], 0x19691f6d
mov dword [ebp - 0x17c], 0x152b1b67
mov dword [ebp - 0x178], 0x11251727
mov dword [ebp - 0x174], 0x2d24135b
mov dword [ebp - 0x170], 0x29182f1c
mov dword [ebp - 0x16c], 0x251c2b18
mov dword [ebp - 0x168], 0x21062714
mov dword [ebp - 0x164], 0x3d41234d
mov dword [ebp - 0x160], 0x395d3f42
mov dword [ebp - 0x15c], 0x35413b4a
mov dword [ebp - 0x158], 0x31793705
mov dword [ebp - 0x154], 0x4d7b337d
mov dword [ebp - 0x150], 0x49034f7a
mov dword [ebp - 0x14c], 0x454a4b06
mov dword [ebp - 0x148], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebp + edx - 0x228]
mov edi, ecx
and edi, 0xd2
mov ebx, edx
xor ebx, 0xaae8d269
add ebx, edi
mov edi, ebx
and edi, esi
add edi, edi
sub ebx, edi
add ebx, esi
mov esi, ebx
and esi, 0xf0
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 0xf2
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x228], bl
inc edx
add ecx, 2
cmp edx, 0xe4
jne 0x57d4a0
lea eax, [ebp - 0x228]
push 0
push 0
push 0
push 0
push eax
call dword [ebp - 0x14]
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x5b3eb4]
mov ecx, dword [0x5b3ebc]
mov edx, ecx
and edx, 0xe81a69fd
add edx, edx
sub edx, ecx
add eax, edx
add eax, 0x97e59603
xor ebx, ebx
jmp eax
Function at 0x58aae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0xf740f98b
mov dword [esp + 0x1c], 0xf341f57b
mov dword [esp + 0x20], 0xcfcef142
mov dword [esp + 0x24], 0
mov edx, 0x56
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x3e]
mov ebx, eax
mov edi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x7d
mul cl
mov ecx, eax
mov eax, edi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x52
mov byte [esp + edx - 0x3e], al
inc edx
cmp edx, 0x66
jne 0x58ab20
mov dword [esp + 0x34], 0x179a1980
mov dword [esp + 0x38], 0x13821598
mov dword [esp + 0x3c], 0xf5d1156
mov dword [esp + 0x40], 0xb9e0d5f
mov dword [esp + 0x44], 0x799099b
mov dword [esp + 0x48], 0x3960565
mov dword [esp + 0x4c], 0x3fad0198
mov dword [esp + 0x50], 0x3bb63db3
mov dword [esp + 0x54], 0x3736397e
mov word [esp + 0x58], 0
xor eax, eax
nop
mov ecx, eax
add cl, 6
xor cl, byte [esp + eax + 0x34]
add cl, 0xe2
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x26
jb 0x58abb0
movzx ecx, word [esp + 0x34]
lea eax, [esp + 0x15c]
test cx, cx
je 0x58ac01
lea edx, [esp + 0x36]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x58abf0
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x58ac31
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x58ac20
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x58ac61
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x58ac50
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x34], 0xb5b0b00a
mov byte [esp + 0x38], 0x18
mov dword [esp + 0x39], 0
mov word [esp + 0x3d], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 0xfb]
mov edx, 4
sub edx, eax
and edx, 0x7e
and ecx, 0x81
or ecx, edx
xor cl, byte [esp + eax + 0x34]
xor cl, 0x7e
add cl, 0x19
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0xb
jb 0x58ac90
movzx eax, byte [esp + 0x34]
test al, al
je 0x58aceb
lea ecx, [esp + 0x35]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x58ace0
mov byte [ebx], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x30]
lea edi, [esp + 0x15c]
push eax
push ecx
push edx
push edi
call fcn.0057c010
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x5b4c70]
mov ecx, 0xa1eb21e6
xor ecx, dword [0x5b4c78]
add eax, ecx
inc eax
jmp eax
Function at 0x890a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
cmp dword [ecx + 8], 0
je 0x890a73
mov edx, dword [ecx]
test edx, edx
je 0x890a73
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x20272625
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0xc9
xor bl, byte [esp + eax]
add bl, 0x13
mov byte [esp + eax], bl
inc eax
cmp eax, 4
jne 0x890a30
mov eax, dword [esp]
mov ebx, dword [0x5bb064]
test ebx, ebx
je 0x890ad3
xor edi, edi
mov esi, dword [0x5bb068]
nop
nop
nop
cmp dword [esi + edi*8], 0xaf0e0c2e
je 0x890aaf
inc edi
cmp ebx, edi
jne 0x890a60
mov edi, dword [ebp + 0xc]
jmp 0x890ad3
mov dword [esp], 0xf3323148
mov eax, 0x4f21078c
nop
movzx ecx, byte [esp + eax - 0x4f21078c]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x44
mov byte [esp + eax - 0x4f21078c], cl
inc eax
cmp eax, 0x4f210790
jne 0x890a80
mov eax, dword [esp]
jmp 0x890c1b
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0xc]
je 0x890ad3
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0x5bb06c]
mov esi, ecx
call fcn.00892f50
mov ecx, esi
add esp, 0x14
test edi, edi
je 0x890b91
cmp eax, 0xc000010a
jne 0x890b91
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebx, dword [ecx]
mov dword [esp + 0xc], 0x20272625
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0xc9
xor dl, byte [esp + eax + 0xc]
add dl, 0x13
mov byte [esp + eax + 0xc], dl
inc eax
cmp eax, 4
jne 0x890b10
xor edx, edx
cmp edi, 0xffffffff
je 0x890b2f
mov edx, esp
mov eax, dword [esp + 0xc]
mov esi, dword [0x5bb064]
test esi, esi
je 0x890b91
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
xor ebx, ebx
mov edx, dword [0x5bb068]
nop
nop
nop
cmp dword [edx + ebx*8], 0x4c697c35
je 0x890b6a
mov edi, ebx
and edi, 1
xor ebx, 1
lea ebx, [ebx + edi*2]
cmp ebx, esi
jb 0x890b50
jmp 0x890b91
mov edx, dword [edx + ebx*8 + 4]
cmp edx, eax
je 0x890b91
push dword [esp + 0x10]
push 0
push dword [esp + 0x10]
push 0xc
push edx
push dword [0x5bb06c]
mov esi, ecx
call fcn.00892f50
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x890c1b
mov edx, dword [ecx]
test edx, edx
je 0x890c1b
mov dword [esp + 8], edx
mov dword [esp], 0x20272625
xor ebx, ebx
mov edx, ebx
add dl, 0xc9
xor dl, byte [esp + ebx]
add dl, 0x13
mov byte [esp + ebx], dl
inc ebx
cmp ebx, 4
jne 0x890bb0
mov esi, dword [0x5bb064]
test esi, esi
je 0x890c15
mov edx, dword [esp]
xor ebx, ebx
mov edi, dword [0x5bb068]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x1b6183f2
je 0x890bf0
inc ebx
cmp esi, ebx
jne 0x890be0
jmp 0x890c15
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x890c15
push dword [esp + 8]
push 4
push esi
push dword [0x5bb06c]
mov esi, ecx
mov edi, eax
call fcn.00892f50
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x894980
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx eax, word [eax]
mov dword [esp + 8], eax
mov dword [esp], 0xb18e7543
mov word [esp + 4], 0
mov ebp, 0xa382385d
mov esi, 0x5c7dc7a2
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebp + 0x5c7dc7a3]
mov ebx, edx
xor ebx, ebp
or ebx, esi
mov eax, ebx
shr al, 1
and al, 1
mov ecx, ebx
not cl
mov ah, cl
and ah, 0x7d
mul ah
add al, al
sub dl, al
test bl, 2
sete al
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0x2f
mov byte [esp + ebp + 0x5c7dc7a3], al
inc ebp
dec esi
cmp ebp, 0xa3823863
jne 0x8949b0
xor ecx, ecx
mov eax, dword [esp + 8]
cmp dword [esp], eax
setne cl
xor eax, eax
mov ebp, dword [esp + 0x3c]
jmp dword [ecx*4 + 0x5b8834]

Function at 0x895740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
mov eax, edx
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx]
lea ebx, [edx + 0x6e667871]
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0xca
mov byte [esp + edx], cl
mov ecx, edx
xor eax, 1
add eax, edx
and edx, 1
and ecx, 6
add eax, edx
sub eax, ecx
mov edx, eax
cmp eax, 7
jb 0x895770
mov eax, dword [esp]
mov edx, dword [0x5bb064]
test edx, edx
je 0x8957f8
xor ebx, ebx
mov ecx, dword [0x5bb068]
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x8957d0
inc ebx
cmp edx, ebx
jne 0x8957c0
jmp 0x8957f8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x8957f8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x5bb06c]
call fcn.00892f50
add esp, 0x20
test edi, edi
je 0x895802
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x89580e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402b3c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d54
test esi, esi
jne 0x402b72
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404e44
jmp 0x402b90
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f0
mov edi, eax
test esi, esi
je 0x402b90
cmp dword [ebx], 0
je 0x402b90
dec esi
jmp 0x402b79
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4033f4
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ecx, ecx
mov ebx, eax
mov cx, word [eax + 4]
sub ecx, 0xd7b1
je 0x40340a
sub ecx, 2
jne 0x40342c
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x403433
cmp edx, dword [ebx + 8]
je 0x40343d
mov eax, 0x64
jmp 0x403438
mov eax, 0x67
jmp 0x403438
call sub.kernel32.dll_GetLastError
call fcn.00402974
pop ebx
ret

Function at 0x40384c
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x40387f
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x403886
cmp edx, dword [ebx + 8]
je 0x403890
mov eax, 0x65
jmp 0x40388b
mov eax, 5
jmp 0x40388b
call sub.kernel32.dll_GetLastError
call fcn.00402974
mov eax, ebx
pop ebx
ret

Function at 0x403ddc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x51500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e54
xor eax, eax
push ebp
push 0x403e4d
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 0x403e90
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 0x403e54
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x51500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x51500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b54
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51804c], 0
je 0x404bb5
cmp word [0x518220], 0xd7b2
jne 0x404b7d
cmp dword [0x518228], 0
jbe 0x404b7d
mov eax, 0x51821c
call dword [0x518238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x515074
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 0x404bdc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51501c], 0
jne 0x404bd1
push 0
push 0x515094
push 0x515074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404d08
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404cd0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40cd90
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 0x40cdc9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e44
jmp 0x40cdd2
mov eax, ebx
mov edx, esi
call fcn.00404da8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cddc
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 0x40cdfd
mov al, byte [esp]
jmp 0x40cdff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d484
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d2fc
mov eax, dword [0x5172d0]
cmp byte [eax], 0
je 0x40d4ec
mov eax, dword [0x517058]
call fcn.00402fbc
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a070
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40d534
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d522
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x516ff4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x518718]
call fcn.0040681c
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

Function at 0x40e364
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e3c8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404fbc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e3cf
lea eax, [ebp - 0xc]
call fcn.00404d54
ret
Function at 0x412938
Capabilities:
Encode data using xor

Disassembly:
xchg edi, esi
call fcn.004b1289
and esi, edi
dec edx
xchg edi, esi
xor edx, 0xbbc68d9b
xchg esi, edx
mov ebx, 0x3229a040
sub eax, dword [0x5161b7]
sub eax, 0xa282ec04
xor ebx, dword [0x515690]
sub eax, esi
inc edi
test edi, 0x1fbf3c93
jg 0x4127e9
shl edx, 6
or edx, ebp
sub esi, 0x1eee85f3
cmp edi, 0xe2847fd4
jb 0x4127fb
sub edx, ebx
mov ecx, 0x4e4694d0
rol edx, 2
call fcn.004c5cfd
add edx, eax
call fcn.004d126a
ror edx, 0xa
dec ecx
call fcn.004935a1
or esi, ecx
cmp dword [0x51611b], ebx
jae 0x412828
or ebx, 0x91b60bac
call fcn.00445610
sub esi, 0x744961d5
xor esi, edx
dec edx
mov ebx, 0x4e32cc81
mov ecx, 0x49d1926b
xor edi, esi
ror edi, 8
xor esi, dword [0x517523]
shl edx, 0x13
cmp edx, eax
jp 0x412855
shr esi, 0x15
call fcn.0046a123
rol esi, 4
xor dword [0x5178f6], edx
rol edi, 0x14
dec esi
rol edx, 7
or edx, 0xb6fe8182
sub ebx, dword [0x5162d7]
and ebx, 0xbafb07e1
xor edx, 0x4e1adacd
call fcn.004a56b2
dec ecx
jne 0x412840
or ecx, 0xfe72eaff
sub esi, dword [0x515d98]
mov ecx, 0x3add2224
shl edx, 0x17
add edx, ebp
shr eax, 8
mov eax, dword [0x516af4]
xchg esi, edx
rol ebx, 0x10
not esi
inc ebx
ror edi, 2
call fcn.004dfd46
and edi, dword [0x51657b]
rol esi, 0xc
shr eax, 0x17
xchg ebx, esi
rol eax, 0x12
dec ecx
jne 0x41289c
and edx, 0xadf13333
xor esi, 0x77d97654
and eax, eax
inc edi
sub ebx, dword [0x5160fc]
call fcn.004c08e6
sub eax, edi
not edi
xor esi, 0xd0a4aeda
mov ecx, 0x6abaed23
dec edx
xchg edi, edx
shr edx, 0x16
ror edi, 0x15
add dword [0x517a29], eax
neg esi
call fcn.0047f459
add eax, ebx
sub edi, dword [0x517568]
test esp, 0xb65b1ebf
jne 0x412924
and edx, dword [0x51682d]
xor esi, esi
call fcn.004c54fb
not edx
shl edx, 8
and esi, 0x2f0391e5
mov dword [0x5179bb], esi
dec ecx
jne 0x4128f8
sub eax, ecx
inc esi
sub dword [0x5176a6], ecx
sub edx, ebp
ror esi, 0xe
xor eax, 0xaaa56922
and dword [0x51766d], esi
dec eax
sub ebx, edx
ror edx, 0x14
mov ecx, 0x7726b70d
add dword [0x5177be], edi
mov edx, ecx
and esi, 0x759ab6bd
xchg ebx, eax
xor esi, eax
neg eax
sub edx, 0x81853ad5
and edi, 0xe75e1650
or esi, ebp
call fcn.0045b162
dec ecx
jne 0x412965
mov eax, 0xe7d351b2
neg edx
xor ebx, dword [0x517ebe]
xor dword [0x517726], 0xdfcabe67
not edi
add edx, ecx
xor ebx, esi
rol esi, 0x16
dec ebx
xor dword [0x517643], 0x711fcb40
call fcn.004d5810
mov dword [0x5179d1], edx
call fcn.0042508c
call fcn.00438926
add dword [0x5178fb], ecx
and dword [0x517969], 0xc817ac45
inc ebx
ror esi, 0x16
xor ebx, esi
sub edx, ecx
not edi
sub dword [0x5178f1], 0x893a4f32
neg edx
xor eax, 0xa27d32f1
add edx, eax
dec eax
xor ecx, 0x11caaad0
sub dword [0x5176b8], edx
add ebx, 0xced28554
or ebx, dword [0x517ec4]
xchg esi, eax
sub eax, dword [0x517f90]
not ecx
rol ecx, 0xd
neg ecx
sub edx, dword [0x517c50]

Function at 0x420d74
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.00420be8
pop ebx
ret