joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x410072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410068
mov eax, 1
add ebx, ebx
jne 0x41008b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410080
jne 0x41009c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410080
xor ecx, ecx
sub eax, 3
jb 0x4100b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410122
mov ebp, eax
add ebx, ebx
jne 0x4100bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4100c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4100ec
inc ecx
add ebx, ebx
jne 0x4100d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4100cd
jne 0x4100e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4100cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41010c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4100fd
jmp 0x41006e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41010c
add edi, ecx
jmp 0x41006e
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41012a
cmp byte [edi], 1
jne 0x41012a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41012f
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4101a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10930]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1096c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41015c
mov ecx, edi
jns 0x41018b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10970]
or eax, eax
je 0x4101a1
mov dword [ebx], eax
add ebx, 4
jmp 0x410179
call dword [esi + 0x10980]
mov ebp, dword [esi + 0x10974]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4101db
sub esp, 0xffffff80
jmp 0x401178

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x406018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
lea ecx, [ebp - 0x44]
push ecx
push esi
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 8
cmp eax, 0xffffffff
jne 0x4010bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov word [ebp - 0xb], cx
mov byte [ebp - 9], cl
call dword [sym.imp.MSVCR100.dll__itoa]
add esp, 0xc
push esi
push str._nERROR:_Failed_to_stat_file__s:
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
push 0
call dword [sym.imp.MSVCR100.dll_perror]
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x30]
cdq
mov ebx, edx
mov edi, eax
push ebx
push edi
push str.content_length_1___d_n
call dword [sym.imp.MSVCR100.dll_printf]
push 0x40422c
push esi
call dword [sym.imp.MSVCR100.dll_fopen]
mov ecx, dword [ebp - 0x48]
add esp, 0x14
mov dword [ecx], eax
test eax, eax
jne 0x40111e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov word [ebp - 0xb], cx
mov byte [ebp - 9], cl
push 0xa
lea ecx, [ebp - 0x14]
push ecx
push eax
mov byte [ebp - 0x14], 0
call dword [sym.imp.MSVCR100.dll__itoa]
add esp, 0xc
push esi
push str._nERROR:_Failed_to_open_input_file__s:
jmp 0x40109a
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebx
mov ecx, dword [ebp - 8]
mov dword [0x406580], edi
mov eax, edi
pop edi
mov dword [0x406584], ebx
mov edx, ebx
xor ecx, ebp
pop ebx
call fcn.00403017
mov esp, ebp
pop ebp
ret
Function at 0x8ddf28
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8ddf2e
pop ebp
sub ebp, 6
sub ebp, 0x4ddf28
jmp 0x8ddf8c
jmp 0x8ddf95
mov eax, 0x4ddf28
add eax, ebp
add eax, 0x93
mov ecx, 0x62d
mov edx, 0x6840206c
xor byte [eax], dl
inc eax
dec ecx
jne 0x8ddfac
jmp 0x8ddfbf
push es
sub al, 4
insb byte es:[edi], dx
jl 0x8de031
insb byte es:[edi], dx
add al, 0x6c
mov al, byte [0xac5f6c40]
cmp al, 0x93
stc
push eax
dec ebp
sub byte [esp + edi - 0x19], ch
mov eax, dword [0x6c50e5e7]
insb byte es:[edi], dx
insb byte es:[edi], dx
in eax, dx
lodsd eax, dword [esi]
xchg esp, eax
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
mov eax, dword [0x6c6c6ad4]
insb byte es:[edi], dx
salc
inc esp
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
wait
mov gs, word [edi - 0x5c]
out 0xed, eax
pushal
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
test eax, 0x5fb3043c
insb byte es:[edi], dx
add al, 0x2b
invalid
outsb dx, byte [esi]
out dx, eax
scasb al, byte es:[edi]
push 0x98e96325
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
xor dword [esi - 0x1f1893a0], ebp
dec eax
push 0x46c6c6c
mov bl, 0x5f
insb byte es:[edi], dx
add al, 0x2b
invalid
Function at 0x4313c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2c000]
push edi
jmp 0x4313da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4313e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4313d0
mov eax, 1
add ebx, ebx
jne 0x4313f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4313e8
jne 0x431404
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4313e8
xor ecx, ecx
sub eax, 3
jb 0x431418
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43148a
mov ebp, eax
add ebx, ebx
jne 0x431423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x431454
inc ecx
add ebx, ebx
jne 0x431440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x431435
jne 0x431451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431435
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x431474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x431465
jmp 0x4313d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x431474
add edi, ecx
jmp 0x4313d6
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431492
cmp byte [edi], 1
jne 0x431492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x431497
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x43150f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x328d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32984]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4314c4
mov ecx, edi
jns 0x4314f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x32988]
or eax, eax
je 0x431509
mov dword [ebx], eax
add ebx, 4
jmp 0x4314e1
call dword [esi + 0x32998]
mov ebp, dword [esi + 0x3298c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x431543
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x3f0980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x3f09ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x3f09ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4083c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408824
mov byte [esp], al
cmp byte [esp], 0
jne 0x40854e
test edi, edi
je 0x40854e
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40848e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408469
cmp edi, 0xffffffff
je 0x408429
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408429
mov byte [esp], 0
jmp 0x40854e
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408469
test ebx, ebx
jne 0x40845b
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40845b
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40854e
lea eax, [esp + 0xc]
call fcn.004080a4
dec ebp
test ebp, ebp
jg 0x40840e
cmp edi, 0xffffffff
je 0x40848e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40848c
mov byte [esp], 0
jmp 0x40854e
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4083d2
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40848e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004085bc
mov edx, eax
mov ebx, dword [0x5ed8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4084f2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4084f0
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4084f2
xor edi, edi
cmp byte [esp], 0
je 0x408518
mov ebx, dword [esi]
test bl, 1
jne 0x40852e
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4084f8
mov byte [esp + 1], 1
jmp 0x40852e
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408518
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4084a5
cmp byte [esp], 0
je 0x40854e
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409390
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5ed05c], 0
je 0x4093f7
cmp word [0x5ed348], 0xd7b2
jne 0x4093b9
cmp dword [0x5ed350], 0
jbe 0x4093b9
mov eax, 0x5ed344
call dword [0x5ed360]
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
mov eax, 0x409424
call fcn.00409f44
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5e7032], 0
jne 0x409413
push 0
push 0x5e79c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4095c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5e7034], 0
je 0x4095eb
mov edx, edi
mov eax, esi
call dword [0x5e7034]
mov ebx, eax
jmp 0x4095fc
mov eax, 8
call fcn.00406a24
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5ed05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409588
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40962c
mov eax, ebx
call fcn.00406a40
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40bfbc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40c121
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409700
cmp si, word [0x5e7a00]
jb 0x40c054
cmp si, word [0x5e7c00]
ja 0x40c054
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c054
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5e7a00]
jae 0x40c02e
mov edi, ebx
dec edi
jmp 0x40c04f
cmp si, word [ebx*8 + 0x5e7a00]
jbe 0x40c03e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c04f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5e7a04]
call fcn.0040bedc
jmp 0x40c054
cmp edi, dword [ebp - 8]
jae 0x40c018
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c103
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c103
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a2e4
push dword [ebp - 0x160]
push 0x40c13c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a2e4
push dword [ebp - 0x164]
push 0x40c14c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a2e4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a51c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c128
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409760
ret
Function at 0x40c2d4
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 0x40c3d8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5efb8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5efba4]
jne 0x40c320
mov eax, esi
mov edx, 0x5efba6
mov ecx, 0x55
call fcn.0040a2e4
push 0x5efb8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c3c2
push 0x5efb8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409700
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c38f
cmp byte [0x5efb88], 0
je 0x40c354
mov edx, esi
mov eax, ebx
call fcn.0040c1b8
jmp 0x40c38f
mov edx, esi
mov eax, ebx
call fcn.0040bfbc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c38f
cmp dword [esi], 0
je 0x40c378
mov eax, esi
mov edx, 0x40c3f0
call fcn.0040a43c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040bfbc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a43c
push 0x5efb8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5efba4], bx
mov eax, dword [esi]
call fcn.0040a240
mov ecx, eax
mov eax, 0x5efba6
mov edx, 0xaa
call fcn.0040be3c
push 0x5efb8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3df
lea eax, [ebp - 4]
call fcn.00409700
ret
Function at 0x4204d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420531
test eax, edx
je 0x420534
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4204ef
movzx eax, word [eax]
sub eax, ecx
jmp 0x420516
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x420517
add ecx, 4
js 0x420507
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420514
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420516
xor eax, eax
ret
test eax, eax
je 0x420540
test edx, edx
jne 0x4204e0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421734
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x421761
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42560c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x425645
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409888
jmp 0x42564e
mov eax, ebx
mov edx, esi
call fcn.00409ae0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425658
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x42567a
movzx eax, word [esp]
jmp 0x42567c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426974
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x426a99
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042677c
mov esi, eax
mov eax, dword [0x5ebe48]
cmp byte [eax], 0
je 0x426a41
mov eax, dword [0x5ebb24]
call fcn.004072f4
call fcn.00406b98
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x426944]
call fcn.0040b6bc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x426ab4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x426a7d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5ebaa0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5efc54]
call fcn.0040badc
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426aa0
lea eax, [ebp - 4]
mov edx, dword [0x426944]
call fcn.0040b7e0
ret

Function at 0x427b30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427c06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409b28
lea eax, [ebp - 4]
call fcn.00409c88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a240
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427bf0
mov eax, ebx
call fcn.00406a24
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a240
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427bd3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427c18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427bd3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427bf0
mov eax, dword [ebp - 0x10]
call fcn.00406a40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427c0d
lea eax, [ebp - 4]
call fcn.00409700
ret
Function at 0x427c1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
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 0x427d1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409b28
lea eax, [ebp - 4]
call fcn.00409c88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a240
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427d06
mov eax, ebx
call fcn.00406a24
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x427cff
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a240
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427ce9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427d30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427ce9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d06
mov eax, dword [ebp - 0x10]
call fcn.00406a40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d23
lea eax, [ebp - 4]
call fcn.00409700
ret

Function at 0x4286cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409bd0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d53c
mov edi, eax
cmp edi, 0x104
jbe 0x428677
mov eax, edi
add eax, eax
call fcn.00406a24
mov esi, eax
jmp 0x428679
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d53c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4286b2
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42869c
mov eax, esp
cmp esi, eax
je 0x4286bf
mov eax, esi
call fcn.00406a40
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4286f8
cmp bl, 0
je 0x4286f4
cmp bl, 0x41
jl 0x4286ef
cmp bl, 0x5a
jg 0x4286ef
or bl, 0x20
xor al, bl
inc esi
jmp 0x4286d3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x428638

Function at 0x428f64
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a2e4
add esp, 0x800
pop ebx
ret