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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x402ee4
pop dword [ebp - 0x30]
mov eax, 0x2fd1b235
sub eax, 0x2f918351
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x16f10dcc
add dword [ebp - 0x40], 0x3761377f
mov dword [ebp - 0x3c], 0x2075da96
add dword [ebp - 0x3c], 0x11bd71af
mov dword [ebp - 0x38], 0x13ff5014
add dword [ebp - 0x38], 0x384cf41a
mov dword [ebp - 0x34], 0x7e34b9c2
add dword [ebp - 0x34], 0x81cb463e
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf09543c4
sub eax, 0xf054c2c0
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xa425eea5
add dword [ebp - 0x40], 0xd04c7ab1
mov dword [ebp - 0x3c], 0xe85ceb23
sub dword [ebp - 0x3c], 0xa6f089ae
mov dword [ebp - 0x38], 0x3e55ec1e
add dword [ebp - 0x38], 0x2519804e
mov dword [ebp - 0x34], 0xd271ff01
sub dword [ebp - 0x34], 0xd271ff01
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x7598c2e3
sub eax, 0x755841e3
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x35347
push 0
call eax
mov ecx, 0x40ad
mov edx, eax
mov ebx, 0x6f3e5025
add ebx, 0x910893db
add ebx, dword [ebp - 0x30]
mov edi, 0x1275e786
add edi, 0x1045a41c
xor dword [ebp - 8], 0x7ef7c27e
mov esi, dword [ebx]
xor dword [ebp - 4], 0xe2c78769
xor esi, edi
add dword [ebp - 0x20], esi
mov dword [edx], esi
sub dword [ebp - 0x24], 0x677678cd
add edx, 4
add ebx, 4
loop 0x403000
add eax, 0xf587
xor ebx, ebx
add ebx, eax
add eax, 0x39aad6a4
add eax, 0xc6552961
mov ecx, 0x241b3043
sub ecx, 0x23db3043
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x401336
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4034c0
call fcn.00401978
push 1
call fcn.004014d6
pop ecx
test al, al
jne 0x4011df
push 7
call fcn.00401743
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004014a1
mov byte [ebp - 0x24], al
mov eax, dword [0x40433c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4011d8
test eax, eax
jne 0x401249
mov dword [0x40433c], ecx
push 0x403110
push 0x4030fc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40122c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401330
push 0x4030f8
push 0x4030f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40433c], 2
jmp 0x40124e
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401633
pop ecx
call fcn.00401737
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40127e
push esi
call fcn.004015a6
pop ecx
test al, al
je 0x40127e
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00401972
call esi
call fcn.0040173d
mov esi, eax
cmp dword [esi], edi
je 0x40129c
push esi
call fcn.004015a6
pop ecx
test al, al
je 0x40129c
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00401858
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0040188b
test al, al
jne 0x4012d5
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4012de
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00401650
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401330
call fcn.004019be
ret
call fcn.00401050
jmp 0x4011c0

Function at 0x403892
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0x8f2
mov dl, ch
bswap ecx
add eax, 0x920
dec dl
sub eax, 0x91f
xor ecx, 0x2de1cca
cmp eax, 0x8bd
jb 0x403897
movd mm3, esi
xor eax, 0xedd790e
lea ebp, [0x64]
jae 0x4038c9
mov esi, 0xf0acf6ca
xor ebp, 0x6f3
lea ecx, [0x7009985d]
xor al, ah
adc ch, bh
sub ebp, 0xfffff150
mov eax, 0x9713d8
sub ebp, 0xeb1
sub al, 0x4b
movzx ebx, dh
inc ebx
cmp ebp, 0x273
jae 0x4038cf
movd ebp, mm3
cmp eax, 0x7280
je 0x403906
bswap edi
cmp ebx, 0x1a01
jbe 0x403910
cmp bl, al
test bh, dl
test ch, 0x8c
lea eax, [0xec5a]
mov edx, eax
add ebp, eax
sub ebp, 0x3cb
jmp 0x40392a
test ecx, 0xdc7d5f32
bswap ecx
sub bl, 0xb
imul eax, esi
imul ecx, edx, 0x1ac96690
add ecx, ebx
push edi
cmp eax, 0xc6ae
ja 0x40394d
bswap ecx
movsx ecx, cx
pop ecx
mov eax, ecx
mov ecx, 0x4f592177
mov edi, eax
bswap eax
test ch, ah
lea ecx, [0xae65da60]
lea edx, [0x1c5]
inc ecx
xor edx, 0x1c5
xchg cl, ah
xadd edx, edi
imul eax, eax, 0x934b7e46
lea edi, [0x5307d9]
push edx
xor ebx, 0xc556842c
pop ebx
and al, dl
bswap ecx
xor esi, ebx
xchg bh, bh
xchg edi, esi
push edi
push 0xc06578
cmp ebp, edx
jo 0x4039a0
Function at 0x40ece0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5ff470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5ff46c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5ff470], edx
cmp eax, 0x26f
jl 0x40ece8
mov dword [0x57efd0], 0x270
ret

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

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5ff474]
mov ebx, dword [eax*4 + 0x5ff470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5ffaa4]
mov dword [eax*4 + 0x5ff470], edx
cmp eax, 0xe2
jl 0x40ed28
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5ff474]
mov ebx, dword [eax*4 + 0x5ff470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5ff0e4]
mov dword [eax*4 + 0x5ff470], edx
cmp eax, 0x26e
jl 0x40ed78
mov edx, dword [0x5ff470]
mov ecx, dword [0x5ffe2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5ffaa0]
mov dword [0x5ffe2c], eax
mov dword [0x57efd0], 0
pop ebx
ret

Function at 0x40ee00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x57efd0]
add dword [0x57efd0], 1
mov eax, dword [0x5fe020]
cmp eax, dword [0x57e720]
jne 0x40ee23
cmp ebx, 0x271
jb 0x40ee44
mov eax, dword [0x5fe020]
call fcn.0040ece0
not dword [0x5fe020]
mov eax, dword [0x5fe020]
mov dword [0x57e720], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40ee60
call fcn.0040ed20
xor ebx, ebx
mov dword [0x57efd0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5ff470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410940
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x57e470]
cmp ax, 0xcb
je 0x410a4c
cmp ax, 0xcc
je 0x410a4c
lea esi, [esi]
mov edx, dword [0x600070]
test edx, edx
je 0x410975
mov eax, dword [0x5fff20]
call edx
mov ebx, eax
jmp 0x41097a
mov ebx, 0x5fff24
cmp word [0x5fff10], 0
jle 0x4109a0
mov eax, 0x5ffef0
call fcn.00410c00
mov eax, ebx
call fcn.00410500
mov eax, ebx
call fcn.00410570
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x4109c2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x4109bd
mov edx, edi
mov eax, ebx
call fcn.0040f970
jmp 0x4109c0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x4109a8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5fff10], 0
jle 0x410a4c
mov edx, 0x5ffe30
mov eax, ebx
call fcn.0040fab0
mov edi, eax
test edi, edi
je 0x410a1c
mov eax, dword [0x5ffec4]
mov dword [edi + 0xc], eax
cmp dword [0x5ffec4], 0
je 0x410a10
mov eax, dword [0x5ffec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5ffec4], eax
nop
sub word [0x5fff10], 1
cmp word [0x5fff10], 0
sete bl
mov eax, 0x5ffef0
call fcn.00410c20
test bl, bl
je 0x410a4c
mov eax, 0x5ffef0
call fcn.00410bf0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4128e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004128c0
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x412a0a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b570
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41296f
mov edx, 0x5ff2f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4129c1
call sub.kernel32.dll_GetLastError
call fcn.00404000
lea eax, [ebp - 0x10]
call fcn.0040a150
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a5f0
mov edx, dword [ebp - 0x14]
mov ecx, 0x59b318
lea eax, [ebp - 0x10]
call fcn.0040a480
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040ae40
jmp 0x412a58
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4129da
cmp eax, ecx
je 0x4129e4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b570
cmp byte [0x57e6e0], 0
jne 0x412a58
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb10
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aed0
lea esi, [esi]
jmp 0x412a58
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b570
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x412a2e
mov eax, 0x5ff2f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x57e6e0], 0
jne 0x412a58
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb10
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040aed0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004128c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412df0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5ff260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00412fd0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5ff260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403580
call sub.kernel32.dll_GetCommandLineA
mov dword [0x57e4f0], eax
mov ebx, eax
jmp 0x412f93
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x412e78
cmp byte [ebx], 0
je 0x412f9c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x412ef3
mov al, byte [ebx]
cmp al, 1
jb 0x412ee8
sub al, 0x20
jbe 0x412eb8
sub al, 2
je 0x412ecc
jmp 0x412ee8
mov al, byte [ebp - 0x114]
test al, al
je 0x412ef8
add dword [ebp - 0x110], 1
jmp 0x412ef0
cmp byte [ebx + 1], 0x22
je 0x412ee3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x412ef0
add ebx, 1
jmp 0x412ef0
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x412ea8
test dword [ebp - 0x10c], 0xffffffff
je 0x412f8c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00412fd0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5ff260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x412f83
mov al, byte [ebx]
cmp al, 1
jb 0x412f78
sub al, 0x20
jbe 0x412f48
sub al, 2
je 0x412f5c
jmp 0x412f78
mov al, byte [ebp - 0x114]
test al, al
je 0x412f88
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x412f80
cmp byte [ebx + 1], 0x22
je 0x412f73
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x412f80
add ebx, 1
jmp 0x412f80
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x412f38
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x412e7b
mov ebx, dword [ebp - 0x10c]
mov dword [0x5ff250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5ff260
call fcn.00410780
mov eax, dword [0x5ff260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x414]
push ebx
push esi
push edi
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], edx
mov eax, edx
call fcn.00408950
xor eax, eax
push fcn.00425e00
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x410], 0xffffffff
mov edx, 1
mov eax, 0x5a3830
call fcn.0040ced0
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x425e65
mov eax, dword [eax - 4]
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00425d70
push 0
push 0
mov eax, edi
mov edx, dword [edi]
call dword [edx + 0x6c]
mov ecx, esi
lea edx, [ebp - 0x408]
mov eax, edi
mov ebx, dword [edi]
call dword [ebx + pe_nt_image_headers32]
push 0
lea eax, [ebp - 0x40c]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x414]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov eax, edi
call fcn.0040cfa0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00425e00
mov eax, dword [ebp - 0x410]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x12c]
push ebx
push esi
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xor eax, eax
push fcn.00428850
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x128], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
call sub.kernel32.dll_WriteFile
mov dword [ebp - 0x1c], 0
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 5
je 0x4289f3
lea eax, [ebp - 0x20]
call fcn.00403a50
push 0
lea eax, [ebp - 0x24]
call fcn.00403a50
mov eax, ebx
xor edx, edx
push edx
push eax
mov ecx, 0xff
lea edx, [ebp - 0x124]
mov eax, 0xffffffff
call fcn.00404e30
lea ecx, [ebp - 0x24]
xor dx, dx
lea eax, [ebp - 0x124]
call fcn.00409200
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x24]
call fcn.00409fd0
mov ecx, dword [ebp - 0x24]
mov edx, str.Err:
lea eax, [ebp - 0x20]
call fcn.00408a80
mov eax, dword [ebp - 0x20]
mov edx, 0xa
call fcn.00425f30
cmp ebx, 0x3e5
jne 0x4289ea
xor ebx, ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_GetOverlappedResult
or eax, eax
setne al
mov byte [ebp - 0x12c], al
test al, al
jne 0x428997
mov dword [ebp - 0x128], 0xffffffff
jmp 0x4289cf
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e4
je 0x4289ae
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x128], eax
jmp 0x4289cf
cmp ebx, 0x12c
jne 0x4289c2
mov dword [ebp - 0x128], 0xfffffffe
jmp 0x4289cf
mov eax, 0xa
call fcn.00453d00
inc ebx
jmp 0x42896c
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_GetOverlappedResult
or eax, eax
setne al
mov byte [ebp - 0x12c], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x128], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00428850
mov eax, dword [ebp - 0x128]
pop esi
pop ebx
leave
ret 4
Function at 0x42ad80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x42ae2a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x42ae46
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x42ae46
sub dx, 0x20
je 0x42ae20
sub dx, 0x80
je 0x42ae20
sub dx, 0x1f62
jb 0x42ae46
sub dx, 1
jbe 0x42ae20
sub dx, 6
je 0x42ae20
sub dx, 0x26
jne 0x42ae46
nop
jmp 0x42ae20
cmp eax, dword [ebp - 0x20]
jg 0x42adc8
lea esi, [esi]
jmp 0x42ae46
cmp dword [ebp - 0x1c], 2
jne 0x42ae3a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x42ae46
mov al, byte [ebp - 0xc]
call fcn.0040b1d0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x42aec4
sub ax, 0x21
je 0x42aed8
sub ax, 0x17
je 0x42aee4
sub ax, 0x222
je 0x42aef0
sub ax, 0x392
je 0x42aef8
sub ax, 1
je 0x42af00
sub ax, 0x1996
je 0x42af08
sub ax, 1
je 0x42af10
sub ax, 6
je 0x42af18
sub ax, 0xb
je 0x42af28
sub ax, 0x1b
je 0x42af20
sub ax, 0x367
je 0x42af30
jmp 0x42af38
mov ax, word [ebp - 0x24]
call fcn.0040b270
mov byte [ebp - 0x10], al
jmp 0x42af40
mov byte [ebp - 0x10], 0x20
jmp 0x42af40
mov byte [ebp - 0x10], 0x2e
jmp 0x42af40
mov byte [ebp - 0x10], 0x27
jmp 0x42af40
mov byte [ebp - 0x10], 0x2c
jmp 0x42af40
mov byte [ebp - 0x10], 0x27
jmp 0x42af40
mov byte [ebp - 0x10], 0x20
jmp 0x42af40
mov byte [ebp - 0x10], 0x20
jmp 0x42af40
mov byte [ebp - 0x10], 0x20
jmp 0x42af40
mov byte [ebp - 0x10], 0x20
jmp 0x42af40
mov byte [ebp - 0x10], 0x2d
jmp 0x42af40
mov byte [ebp - 0x10], 0x27
jmp 0x42af40
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x438110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00438100
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x438228
mov al, byte [ebp - 0x110]
test al, al
je 0x4381f1
lea eax, [ebp - 0xc]
call fcn.00403a50
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d50
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409200
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409fd0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a2710
call fcn.00451740
mov edx, 0x43817a
mov ecx, ebp
call fcn.00413b20
jmp 0x438228
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a2710
call fcn.00451740
mov edx, 0x4381f1
mov ecx, ebp
call fcn.00413b20
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4382f4
mov al, byte [ebp - 0x110]
test al, al
je 0x4382bd
lea eax, [ebp - 0xc]
call fcn.00403a50
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d50
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409200
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409fd0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a2710
call fcn.00451740
mov edx, 0x438246
mov ecx, ebp
call fcn.00413b20
jmp 0x4382f4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a2710
call fcn.00451740
mov edx, 0x4382bd
mov ecx, ebp
call fcn.00413b20
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.004378a0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00438100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x5a3318
call fcn.0040cda0
test al, al
je 0x43b386
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0043b3a0
xor eax, eax
push fcn.0043b290
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408980
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0043a4b0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0043a000
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043b290
jmp 0x43b391
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043df00
mov esp, ebp
pop ebp
ret

Function at 0x43d240
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x43d25c
mov dword [ebx + 0xc], 0
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret