joyce8/EMBER2024-capa huggingface dataset:
Function at 0x584260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa0
call fcn.00629030
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0xa0], ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], ecx
cmp edx, edi
jb 0x58444b
cmp edi, 0x40
ja 0x58444b
lea eax, [ebp - 0x84]
neg eax
lea ecx, [ebp - 0x84]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x9c], ecx
cmp edx, eax
jbe 0x5842d8
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
push esi
push edi
xor esi, esi
mov dword [ebp - 0x90], 0
push esi
push ecx
call fcn.0062c160
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x94], esi
cmp ebx, dword [eax + 0xc]
jae 0x5843af
mov ecx, ebx
sub ecx, dword [eax + 8]
mov dword [ebp - 0x88], ecx
mov edi, dword [ebp - 0x8c]
mov eax, ebx
xor eax, dword [ebp - 0x98]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp - 0x8c]
neg edx
xor ecx, dword [eax + 8]
mov eax, ebx
xor eax, dword [edi + 8]
or ecx, eax
mov eax, edx
or eax, dword [ebp - 0x90]
xor ecx, ebx
and edx, dword [ebp - 0x94]
shr ecx, 0x1f
or esi, edx
mov edx, dword [ebp - 0x94]
neg ecx
and ecx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
mov al, byte [eax + ebx]
inc ebx
and al, cl
mov ecx, dword [ebp - 0x9c]
or byte [edx + ecx], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
mov eax, dword [ebp - 0x8c]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x88], ecx
cmp ebx, dword [eax + 0xc]
jb 0x584310
mov dword [ebp - 0x88], 0
test edi, edi
je 0x584435
mov ecx, dword [ebp - 0x9c]
mov eax, esi
and eax, 0xffffffdf
mov bl, byte [eax + ecx]
mov eax, esi
or eax, 0x20
mov dl, byte [eax + ecx]
mov eax, esi
and eax, 0x20
inc esi
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [ebp - 0x90], eax
not eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
and cl, dl
mov edx, dword [ebp - 0x88]
and al, bl
or al, cl
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + edx], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
mov dword [ebp - 0x88], edx
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x5843c1
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00628f0a
mov esp, ebp
pop ebp
ret
Function at 0x5b1e87
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call fcn.005df2a0
mov esi, eax
test esi, esi
jne 0x5b1ebc
or eax, 0xffffffff
jmp 0x5b2021
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x5b1ec6
mov eax, dword [ebx]
push eax
push 0x2712
push esi
call fcn.005e28e0
add esp, 0xc
cmp dword [edi + 0x10], 0
je 0x5b1ef2
cmp dword [edi + 0x14], 0x10
jb 0x5b1ee3
mov edi, dword [edi]
push edi
push 0x271f
push esi
call fcn.005e28e0
add esp, 0xc
xor edi, edi
inc edi
push edi
push 0x63
push esi
call fcn.005e28e0
push edi
push 0x34
push esi
call fcn.005e28e0
add esp, 0x18
push 0
call fcn.005ba044
push eax
mov ecx, ebx
call fcn.005a830b
cmp eax, 0xffffffff
mov edx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36
mov ecx, str.m_installer
cmove ecx, edx
push ecx
push 0x2722
push esi
call fcn.005e28e0
push 2
push 0x54
push esi
call fcn.005e28e0
push edi
push 0x29
push esi
call fcn.005e28e0
push 0x32
push 0x44
push esi
call fcn.005e28e0
push edi
push 0xd5
push esi
call fcn.005e28e0
add esp, 0x3c
cmp byte [ebp + 0x14], 0
jne 0x5b1f8d
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.005b1d27
cmp dword [eax + 0x10], 0
je 0x5b1f8d
mov ecx, edi
call fcn.005b1d27
cmp dword [eax + 0x14], 0x10
jb 0x5b1f86
mov eax, dword [eax]
mov ecx, 0x2751
jmp 0x5b1f92
push 0x40
pop ecx
xor eax, eax
push eax
push ecx
push esi
call fcn.005e28e0
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
push 0x5b2032
push 0x4e2b
push esi
mov dword [ebp - 8], 0xf
call fcn.005e28e0
push dword [ebp - 0x20]
push 0x2711
push esi
call fcn.005e28e0
lea eax, [ebp - 0x1c]
push eax
push 0x272d
push esi
call fcn.005e28e0
push esi
call fcn.005df300
push esi
mov edi, eax
call fcn.005df280
mov ecx, dword [ebp - 8]
add esp, 0x38
cmp ecx, 0x10
jb 0x5b201f
mov eax, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
cmp ecx, 0x1000
jb 0x5b2016
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call fcn.00628ef7
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00628f0a
leave
ret 0x10
Function at 0x5d9404
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x5d9457
sub eax, 1
je 0x5d9450
sub eax, 1
je 0x5d9449
sub eax, 1
je 0x5d9442
sub eax, 1
je 0x5d943b
push str._installer
call fcn.005b9b84
push eax
push dword [ebp + 8]
call fcn.005a615f
add esp, 0xc
jmp 0x5d9464
push str.Mozilla_5.0__Macintosh__U__Intel_Mac_OS_X_10_6_6__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.102_Safari_534.13
jmp 0x5d945c
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.107_Safari_534.13
jmp 0x5d945c
push str.Opera_9.80__X11__Linux_i686__U__ru__Presto_2.7.62_Version_11.01
jmp 0x5d945c
push str.Mozilla_5.0__X11__U__Linux_i686__ru__rv:1.9.2.14__Gecko_20110221_Ubuntu_10.10__maverick__Firefox_3.6.14
jmp 0x5d945c
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov ecx, dword [ebp + 8]
call fcn.00449380
mov eax, dword [ebp + 8]
pop ebp
ret
Function at 0x5dd715
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x5dec27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
call fcn.005d02a0
test byte [esi + 0x39], 1
je 0x5ded2d
push ebx
push edi
push dword [esi + 4]
mov bl, 1
call dword [0x65c51c]
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [0x65c548]
push dword [esi + 4]
mov dword [ebp - 4], eax
call dword [0x65c4a4]
push 1
mov eax, 0x202
push eax
push eax
push dword [esi + 4]
lea eax, [ebp - 0x30]
push eax
call dword [0x65c4e4]
mov edi, dword [0x65c4e8]
test eax, eax
jne 0x5dece1
mov eax, dword [ebp - 8]
movzx eax, ax
mov ecx, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
push dword [esi + 4]
push eax
push 0x111
push dword [ebp - 4]
call edi
push dword [esi + 0x2c]
call dword [0x65c12c]
push 1
mov eax, 0x202
xor bl, 1
push eax
push eax
push dword [esi + 4]
lea eax, [ebp - 0x30]
push eax
call dword [0x65c4e4]
test eax, eax
mov eax, dword [ebp - 8]
je 0x5dec92
test bl, bl
jne 0x5dece1
push dword [esi + 4]
mov eax, dword [ebp - 0xc]
movzx eax, ax
push eax
push 0x111
push dword [ebp - 4]
call edi
call dword [0x65c4a0]
xor ebx, ebx
push ebx
push ebx
push 0x202
push dword [esi + 4]
call edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], ebx
call dword [0x65c4c8]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [0x65c530]
movzx ecx, word [ebp - 0x10]
movzx eax, word [ebp - 0x14]
shl ecx, 0x10
or ecx, eax
push ecx
push ebx
push 0x200
push dword [esi + 4]
call edi
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x5e7440
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x5e7476
mov al, byte [esi]
push eax
call fcn.005f54a0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x5e7458
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x5f10f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f9], 0
je 0x5f1184
cmp dword [edi + 0x1a8], 0
je 0x5f1141
push esi
push 1
push edi
call fcn.005e3050
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1a8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.005e3050
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov ecx, edx
sub ecx, 0
je 0x5f1155
sub ecx, 1
je 0x5f1155
sub ecx, 1
jne 0x5f1184
push dword [edi + 0x148]
lea eax, [edx*2 + 0x66c2fc]
push 1
add eax, edx
push 2
push eax
call fcn.006338f3
push dword [edi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.006338f3
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x5f37f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.004a4170
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.006446c8

Function at 0x5f6500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f6528
cmp dword [esi + 0x78], 0
je 0x5f6528
push 2
push 3
push esi
call fcn.005f5ae0
push dword [ebp + 0xc]
call fcn.005f5f60
add esp, 0x10
jmp 0x5f6537
push dword [ebp + 0xc]
call fcn.005f5f60
add esp, 4
test esi, esi
je 0x5f6548
cmp dword [esi + 0x78], 0
je 0x5f6548
push 3
push esi
call fcn.005f5b20
add esp, 8
pop esi
pop ebp
ret
Function at 0x605480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0063dee8
add esp, 0x18
test eax, eax
je 0x6054a2
cmp eax, 0xffffffff
jne 0x6054a4
xor eax, eax
pop ebp
ret

Function at 0x613360
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x613392
push 0x672de4
push esi
call fcn.005f1190
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x6133a9
push ecx
push 0x672e00
push esi
call fcn.005f1250
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x6133c2
push ebx
push esi
call fcn.00613010
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x6133d7
push esi
call fcn.00612000
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x6133ec
push esi
call fcn.00612ff0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x6133fc
push esi
call fcn.00613240
add esp, 4
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6280a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x70d4c4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x6280cd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x628117
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x62811d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x62817b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x628140
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x6281a7
mov eax, dword [esi + 4]
push 1
push 0x675984
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x675985
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x628180
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x64921d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00649093
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100193cb
pop dword [ebp - 0x24]
mov eax, 0x44979a17
add eax, 0xcb69f9b4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xdd4a0b5f
sub dword [ebp - 0x34], 0x8ef7c614
mov dword [ebp - 0x30], 0xc1747069
add dword [ebp - 0x30], 0x70bedbdc
mov dword [ebp - 0x2c], 0x95351da8
add dword [ebp - 0x2c], 0xb7172686
mov dword [ebp - 0x28], 0xf540b838
sub dword [ebp - 0x28], 0xf540b838
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1d58d721
add eax, 0xf2a94923
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x70ae4083
add dword [ebp - 0x34], 0x3c428d3
mov dword [ebp - 0x30], 0xa76ee221
add dword [ebp - 0x30], 0x99fd7f54
mov dword [ebp - 0x2c], 0xd80a4e6a
sub dword [ebp - 0x2c], 0x749ae1fe
mov dword [ebp - 0x28], 0x60c72f7
add dword [ebp - 0x28], 0xf9f38d09
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x48f3ed55
add eax, 0xc70e32eb
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3ff12
push 0
call eax
mov ecx, 0x6755
mov edi, eax
mov ebx, 0x792318d1
sub ebx, 0x691ffcd1
add ebx, dword [ebp - 0x24]
mov esi, 0x1f6e0a9e
sub esi, 0x98b1a486
add dword [ebp - 0x18], edx
mov edx, dword [ebx]
add dword [ebp - 0x18], 0x3e0ab0e0
xor edx, esi
sub dword [ebp - 0xc], ebx
mov dword [edi], edx
xor dword [ebp - 0x1c], edx
add edi, 4
add ebx, 0x60d2cbc2
sub ebx, 0x60d2cbbe
loop 0x100194e7
add eax, 0x8ee8b936
add eax, 0x7118d6f1
xor ebx, ebx
add ebx, eax
add eax, 0x8d29d258
add eax, 0x72d62dad
mov ecx, 0x1e602280
add ecx, 0xf19fdd80
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1001da89
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
mov eax, dword [0x1002c00c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
lea eax, [edi + 0x2d58]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
xor esi, esi
push esi
mov dword [edi + 0x2d4c], esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 0x26
push ebx
mov dword [esp + 0x18], ebx
call ebp
xor ecx, ecx
shr eax, 8
inc ecx
and eax, ecx
cmp dword [sym.imp.USER32.dll_UpdateLayeredWindow], esi
je 0x1001daea
test eax, eax
jne 0x1001daea
mov dword [edi + 0x2d4c], ecx
mov dword [edi + 0x2894], 4
cmp dword [edi + 0x2d4c], esi
je 0x1001db28
push 0xff000000
push 0xff
push 0xff00
push 0xff0000
push edi
call fcn.100193bc
mov dword [edi + 0x34], 1
mov dword [edi + 0x2898], esi
jmp 0x1001dbd6
mov dword [edi + 0x2898], ecx
test eax, eax
je 0x1001dbbc
push 0x6a
push ebx
call ebp
push 0x68
push ebx
mov esi, eax
call ebp
mov ebx, eax
sub ebx, esi
xor esi, esi
push esi
push esi
push esi
push esi
push edi
call fcn.100193bc
add esp, 0x14
mov eax, esi
test ebx, ebx
jle 0x1001db6b
lea ecx, [edi + 0x2934]
mov dword [ecx], eax
inc eax
lea ecx, [ecx + 4]
cmp eax, ebx
jl 0x1001db61
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.1001bf02
lea esi, [edi + 0x2934]
mov ebp, eax
push esi
lea ebx, [edi + 0x44]
add edi, 0x2494
push ebx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1001ba6e
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov dword [eax + 0x40], esi
xor esi, esi
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + 0x20], 1
mov dword [eax + 0x2c], edi
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x2d54], esi
jmp 0x1001dbd9
push 0xff000000
push 0xff
push 0xff00
push 0xff0000
push edi
call fcn.100193bc
add esp, 0x14
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.JAVA2D_DPIAWARE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x1001dc0d
call fcn.100193bc
movss xmm0, dword [0x10027834]
fstp dword [esp]
comiss xmm0, dword [esp]
ja 0x1001dc1f
jmp 0x1001dc40
push eax
push str.true
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
pop ecx
pop ecx
test eax, eax
jne 0x1001dc40
push str.user32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x1001dc40
push str.SetProcessDPIAware
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x1001dc40
call eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10020582
add esp, 0x18
ret
Function at 0x438c9f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
pop edi
mov edx, edx
add esi, edx
call fcn.00438cdd
push 0x15cb42f2
pop esi
sub esi, esi
xor dword [ebx], edi
or edx, edx
add ebx, 1
sub esp, 4
mov dword [esp], 0x76510a5a
pop esi
cmp ebx, eax
jne fcn.00438c9f
add esi, edx
or edx, esi
ret
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10003ece
pop dword [ebp - 0x44]
mov eax, 0x919e3853
sub eax, 0x819df985
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xbd3f82ed
sub dword [ebp - 0x54], 0x6eed3da2
mov dword [ebp - 0x50], 0xd056ec5b
add dword [ebp - 0x50], 0x61dc5fea
mov dword [ebp - 0x4c], 0x9c1dfec6
add dword [ebp - 0x4c], 0xb02e4568
mov dword [ebp - 0x48], 0x28224e7e
add dword [ebp - 0x48], 0xd7ddb182
lea eax, [ebp - 0x54]
push eax
mov eax, 0xffa01b6c
sub eax, 0xef9fcb28
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x2efde579
add dword [ebp - 0x54], 0x457483dd
mov dword [ebp - 0x50], 0x1d41325d
add dword [ebp - 0x50], 0x242b2f18
mov dword [ebp - 0x4c], 0xc7a52883
add dword [ebp - 0x4c], 0x9bca43e9
mov dword [ebp - 0x48], 0xd419c5e6
sub dword [ebp - 0x48], 0xd419c5e6
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x3509e38c
add eax, 0xdaf66cb4
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x374f2
push 0
call eax
mov ecx, 0x4ab4
xor esi, esi
add esi, eax
mov edi, 0x245da1a2
sub edi, 0x145ceba2
add edi, dword [ebp - 0x44]
mov ebx, 0x95cfde4f
xor dword [ebp - 8], 0xb20d293b
mov edx, dword [edi]
sub dword [ebp - 0x1c], 0xe8625ce8
add edx, ebx
xor dword [ebp - 0x1c], 0x1d8c943c
mov dword [esi], edx
mov dword [ebp - 0x3c], 0xcb31057f
add esi, 0x6ed6373a
sub esi, 0x6ed63736
add edi, 0xac1855d3
add edi, 0x53e7aa31
loop 0x10003fe6
add eax, 0x1ae46d9b
sub eax, 0x1ae34ff8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1360a352
add ecx, 0xfc9f5cae
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x404548
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.00406878
test esi, esi
jne 0x404580
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.004069b4
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405de0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c1050], 0
je 0x405e41
cmp word [0x4c132c], 0xd7b2
jne 0x405e09
cmp dword [0x4c1334], 0
jbe 0x405e09
mov eax, 0x4c1328
call dword [0x4c1344]
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 0x405e6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4be030], 0
jne 0x405e5d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fcc
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 [0x4be034], 0
je 0x405ff2
mov edx, esi
mov eax, ebx
call dword [0x4be034]
jmp 0x406001
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4c1051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f94
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 0x408648
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 0x4087af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406878
cmp si, word [0x4be7dc]
jb 0x4086e2
cmp si, word [0x4be9dc]
ja 0x4086e2
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4086e2
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4be7dc]
jae 0x4086bc
mov edi, ebx
dec edi
jmp 0x4086dd
cmp si, word [ebx*8 + 0x4be7dc]
jbe 0x4086cc
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4086dd
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4be7e0]
call fcn.00408558
jmp 0x4086e2
cmp edi, dword [ebp - 0xc]
jae 0x4086a6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408791
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408791
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.00406a60
push dword [ebp - 0x164]
push 0x4087cc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a60
push dword [ebp - 0x168]
push 0x4087dc
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a60
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4087b6
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406870
ret