joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412bb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412bdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412bdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x8d4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8d41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8d407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d406a
add dl, dl
jne 0x8d4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d40dc
xor eax, eax
add dl, dl
jne 0x8d4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d417d
add dl, dl
jne 0x8d40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8d40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8d4075
mov eax, 1
add dl, dl
jne 0x8d40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d40e1
sub eax, ebx
mov ebx, 1
jne 0x8d4128
mov ecx, 1
add dl, dl
jne 0x8d410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8d4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8d413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8d414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d4136
cmp eax, 0x7d00
jae 0x8d416d
cmp eax, 0x500
jb 0x8d4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d4075
cmp eax, 0x7f
ja 0x8d4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8d419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8d4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4010f0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x401160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4011dd
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x401230
cmp al, 0x22
je 0x401240
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x4011dd
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401190
test edi, 1
jne 0x401190
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x4011f8
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x4011a7
and dword [ebp - 0x54], 1
jne 0x4011a0
xor edi, 1
jmp 0x4011a7
Function at 0x2b001859
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2b03bee0]
jne 0x2b001863
repz ret
jmp fcn.2b02c235

Function at 0x2b004abc
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x2b004ae4
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x2b004ae2
mov ecx, esi
pop esi
jmp fcn.2b004af5
pop esi
ret

Function at 0x2b023282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x2b023291
pop dword [ebp - 0x3c]
mov eax, 0x2b023291
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x3a755b17
add dword [ebp - 0x4c], 0x13dcea34
mov dword [ebp - 0x48], 0xf4bbd6b1
sub dword [ebp - 0x48], 0xc2888a6c
mov dword [ebp - 0x44], 0xaec53957
sub dword [ebp - 0x44], 0x6278f529
mov dword [ebp - 0x40], 0xc6f1d717
add dword [ebp - 0x40], 0x390e28e9
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xd4c69d9d
sub dword [ebp - 0x4c], 0x60543447
mov dword [ebp - 0x48], 0xa475d58d
add dword [ebp - 0x48], 0x9cf68be8
mov dword [ebp - 0x44], 0x312a9e09
sub dword [ebp - 0x44], 0xcdbb319d
mov dword [ebp - 0x40], 0xc9c15c83
add dword [ebp - 0x40], 0x363ea37d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x45377
push 0
call eax
mov ecx, 0x5104
mov esi, eax
mov edx, 0x9abc7e3
add edx, 0x2158e61d
add edx, dword [ebp - 0x3c]
mov ebx, 0x9a8ca6b7
sub ebx, 0x2104e73a
xor dword [ebp - 0x28], 0xaa6ccfdc
mov edi, dword [edx]
add dword [ebp - 8], 0x70f26f64
xor edi, ebx
add dword [ebp - 0x30], eax
mov dword [esi], edi
mov dword [ebp - 0x18], 0xe0088f5
add esi, 0x2a954c3a
sub esi, 0x2a954c36
add edx, 0x363b1013
sub edx, 0x363b100f
loop 0x2b02339e
add eax, 0x1d4a55d4
add eax, 0xe2b6e10f
xor ebx, ebx
add ebx, eax
add eax, 0xf2e90cc3
add eax, 0xd16f342
mov ecx, 0x2b000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x4018de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.004017e4
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x401924
push 0xa
push 0xa
push 0x9712d8
push 0x3114b604
call fcn.0040207e
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.00401852
add esp, 0xc
test eax, eax
je 0x40192d
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x4018fc
jmp 0x4019bf
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4019bf
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x4019bb
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x9712c0
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00402030
push eax
push dword [esp + 0x24]
call section..text
add esp, 0x14
test eax, eax
je 0x4019a3
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x401964
jmp 0x4019bb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x401b26
push 0xa
push 0x9712b4
push 0x29a1a909
call fcn.00402030
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.004018b6
push 0xc
push 0x9712a4
push 0x13cbcee9
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.004018b6
push 0x18
push 0x971288
push 0x17ce53be
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.004018b6
push 0xf
push 0x971278
push 0x26b30b69
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.004018b6
push 0x12
push 0x971264
push 0x3d924530
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.004018b6
push 7
push 0x97125c
push 0x2236409a
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.004018b6
push 0x14
push 0x971244
push 0x149ccd04
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.004018b6
push 0x11
push 0x971230
push 0x673ebfe9
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.004018b6
push 0x11
push 0x97121c
push 0x68d29b96
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.004018b6
push 0x16
push 0x971204
push 0x7db65c79
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.004018b6
push 0x13
push 0x9711f0
push 0x65fa79df
call fcn.00402030
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004018b6
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401bce
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x46bd
mov esi, 0x1ad35b
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401bde
pop esi
ret

Function at 0x401d3a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401d81
push 7
push str..custom
push edi
call fcn.00401852
add esp, 0xc
test eax, eax
je 0x401d88
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401d5e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.004020dc
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401bf7
mov dword [ebp - 0x14], 0x401c02
call fcn.00403a23
add esp, 0x28
test eax, eax
je 0x401de8
push dword [ebp - 4]
call fcn.004020f3
pop ecx
jmp 0x401d81
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401d83

Function at 0x402030
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x40206f
push edi
mov edi, dword [esp + 0x14]
sub edi, 0xb1f370
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0xb1f370]
inc esi
mov byte [esi + 0xb1f36f], al
cmp esi, ebx
jb 0x40204b
pop edi
pop esi
mov byte [ebx + 0xb1f370], 0
mov eax, 0xb1f370
pop ebx
ret

Function at 0x40207e
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x4020bc
mov eax, dword [esp + 0x10]
sub eax, 0xb1f370
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0xb1f370]
inc esi
mov byte [esi + 0xb1f36f], bl
cmp esi, edi
jb 0x402098
pop ebx
mov byte [edi + 0xb1f370], 0
mov byte [edi + 0xb1f371], 0
pop edi
mov eax, 0xb1f370
pop esi
ret
Function at 0x402173
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x40218c
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x4021af
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4021b4
inc edi
cmp edi, dword [ebp - 4]
jb 0x4021a6
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x4022ac
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x40220b
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x4021df
cmp cl, 0xff
jne 0x402236
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x402244
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x40224b
dec ecx
shl edx, cl
and edx, 7
je 0x4021d0
movzx ecx, byte [edx + 0x971378]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x971370], 0
mov cl, byte [ebx + 4]
je 0x402233
test cl, cl
je 0x402233
cmp cl, 0xff
jne 0x4021d0
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4021a1
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x40227f
movzx esi, byte [edx + 0x971378]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x40226a
cmp al, 0xff
jne 0x40227c
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x4021fd
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4021a1
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x10004820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004829
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004849
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10005590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10005599
pop esi
pop ebp
ret 8

Function at 0x100055b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055b9
pop esi
pop ebp
ret 4

Function at 0x100055d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055d9
pop esi
pop ebp
ret 8

Function at 0x100184b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1017c928]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1017f7a8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018588
push esi
push 0x55
pop esi
push esi
push 0x1017f7b0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018572
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a6450
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x1017f7b0], 0x5f
mov cl, 0x2d
je 0x10018512
mov cl, byte [eax*2 + 0x1017f7b0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001851f
inc eax
cmp eax, esi
jl 0x100184fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call fcn.10026ac0
mov esi, eax
pop ecx
test esi, esi
je 0x10018572
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10026ac0
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001856b
push 0x10017d70
push 0x15
mov byte [eax + esi], bl
mov dword [0x1017f7a8], esi
mov byte [0x1017f7ac], 1
call fcn.10026ac0
pop ecx
jmp 0x10018571
push esi
call fcn.10026ac0
pop ecx
mov ecx, dword [0x1017f7a8]
mov eax, 0x100fbd80
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x1017f7a8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100814c9
leave
ret
Function at 0x10019a90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x1017c928]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x354]
push edi
push 0x1b0
push ebx
push eax
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], bx
mov word [ebp - 0x35c], bx
mov byte [ebp - 0x35a], bl
call fcn.100a6450
mov esi, 0x80
lea eax, [ebp - 0x10c]
push esi
push ebx
push eax
call fcn.100a6450
push esi
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.100a6450
add esp, 0x24
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.kernel32.dll_GetDynamicTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10019ba3
push 0x10
call dword [sym.imp.kernel32.dll_GetUserGeoID]
push ebx
push 3
lea ecx, [ebp - 0xc]
push ecx
push 4
push eax
call dword [sym.imp.kernel32.dll_GetGeoInfoW]
mov edi, eax
lea eax, [ebp - 0x358]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x35c]
push 3
push eax
call fcn.10026ac0
lea eax, [ebp - 0x358]
push eax
push str.windowsZones
push ebx
call fcn.10026ac0
mov esi, eax
lea eax, [ebp - 0x358]
push eax
push esi
push str.mapTimezones
push esi
call fcn.10026ac0
lea eax, [ebp - 0x358]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2a8]
push eax
push ebx
lea eax, [ebp - 0x10c]
push 0x80
push eax
call fcn.10026ac0
add esp, 0x4c
cmp dword [ebp - 0x358], ebx
jle 0x10019bb4
test esi, esi
je 0x10019ba3
push esi
call fcn.10026ac0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100814c9
leave
ret
cmp word [ebp - 0x2a8], bx
je 0x10019c99
lea ecx, [ebp - 0x1a4]
call sym.icucnv67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::constructor_void_
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.10026ac0
add esp, 0x10
cmp dword [ebp - 0x358], ebx
jg 0x10019c8e
test edi, edi
je 0x10019c24
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.10026ac0
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x10019c4e
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], ebx
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x1a4]
push 0x100fdd94
push eax
call fcn.10026ac0
add esp, 0x10
mov ecx, eax
cmp dword [ebp - 0x358], ebx
jg 0x10019c8e
movzx eax, word [ecx]
mov edx, ebx
test ax, ax
je 0x10019c87
mov edi, eax
cmp di, 0x20
je 0x10019c7f
mov al, byte [ecx]
add ecx, 2
mov byte [ebp + edx - 0x8c], al
inc edx
movzx eax, word [ecx]
mov edi, eax
test ax, ax
jne 0x10019c62
cmp edx, 0x80
jae 0x10019cc2
mov byte [ebp + edx - 0x8c], bl
lea ecx, [ebp - 0x1a4]
call sym.icucnv67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::destructor_void_
cmp byte [ebp - 0x8c], bl
je 0x10019cb0
lea eax, [ebp - 0x8c]
push eax
call fcn.10026ac0
pop ecx
mov ebx, eax
test esi, esi
je 0x10019cbb
push esi
call fcn.10026ac0
pop ecx
mov eax, ebx
jmp 0x10019ba5
call fcn.10026ac0
int3
Function at 0x10026ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10026acf
pop dword [ebp - 0xc]
mov eax, 0x164f6685
add eax, 0xf9b3044a
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x70128
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xf2b75fca
sub ecx, 0xf2b718fe
xor ebx, ebx
add ebx, eax
mov edx, 0x1018cc00
add edx, dword [ebp - 0xc]
mov edi, 0xedcb500b
add edi, 0xf19b63dc
xor dword [ebp - 4], 0x7dd03cdb
mov esi, dword [edx]
sub dword [ebp - 8], ebx
xor esi, edi
xor dword [ebp - 8], 0xe21f964b
mov dword [ebx], esi
add ebx, 0x78d7e593
sub ebx, 0x78d7e58f
add edx, 4
loop 0x10026b25
add eax, 0xdae42f2
add eax, 0xf252cb11
xor ebx, ebx
add ebx, eax
add eax, 0x579c1605
sub eax, 0x579c1600
mov ecx, 0xe6db215d
add ecx, 0x2924dea3
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x1004fc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
test eax, eax
jle 0x1004fc67
mov ebx, dword [edi + 4]
movzx edx, byte [ebp + 8]
mov ecx, dword [ebx + esi*8]
mov ebx, dword [ebx + esi*8 + 4]
movzx eax, cl
dec ebx
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, ecx
test eax, 0xffffff00
jne 0x1004fc52
cmp dword [ebp - 4], edx
ja 0x1004fc5e
jmp 0x1004fc57
cmp dword [ebp - 4], edx
jbe 0x1004fcab
movzx eax, bl
cmp edx, eax
jbe 0x1004fcab
mov ebx, dword [edi + 4]
inc esi
cmp esi, dword [ebp - 8]
jl 0x1004fc32
lea ecx, [edi - 4]
call sym.icucnv67.dll_private:_signed_char___thiscall_icu_67::UnicodeSet::hasStrings_void_const
test al, al
je 0x1004fca2
mov eax, dword [edi + 0x28]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x1004fca2
movzx ebx, byte [ebp + 8]
push esi
mov ecx, eax
call fcn.10026ac0
push 0
mov ecx, eax
call fcn.10026ac0
movzx eax, al
cmp eax, ebx
je 0x1004fcab
mov eax, dword [edi + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x1004fc81
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov al, 1
jmp 0x1004fca4