joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b7430
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x100b759f
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002c8c0
push 0x5c
push edi
call fcn.100bab0a
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100b74fd
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100b74b0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100b7595
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100b7511
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100b7514
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100b7595
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002c8c0
push 0x5c
push edi
call fcn.100bab0a
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100b75a6
cmp esi, eax
jne 0x100b7565
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100b7520
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b7d80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5735
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100da040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100b7d10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b7e0a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100b7f50
cmp dword [ebx + 8], 0xfffffff
jne 0x100b7e1e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100ba5f8
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cf040]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100cf040]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100b7f03
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100bb9a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100b7ee5
cmp eax, 0x200
jae 0x100b7ee3
shl eax, 3
cmp eax, ecx
jae 0x100b7ee5
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10081d90
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100b7d10
mov edx, dword [eax]
jmp 0x100b7f06
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100b7f31
mov dword [ecx + eax*8], esi
jmp 0x100b7f43
cmp ebx, edx
jne 0x100b7f3a
mov dword [ecx + eax*8], esi
jmp 0x100b7f47
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100b7f47
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b8510
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5735
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100da040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100b7d10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b859a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100b86e2
cmp dword [ebx + 8], 0xfffffff
jne 0x100b85ae
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100ba5f8
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cf040]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100cf040]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100b8695
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100bb9a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100b8677
cmp eax, 0x200
jae 0x100b8675
shl eax, 3
cmp eax, ecx
jae 0x100b8677
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10081d90
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100b7d10
mov edx, dword [eax]
jmp 0x100b8698
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100b86c3
mov dword [ecx + eax*8], esi
jmp 0x100b86d5
cmp ebx, edx
jne 0x100b86cc
mov dword [ecx + eax*8], esi
jmp 0x100b86d9
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100b86d9
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40df10
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x40df20
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x40df2b
or ecx, 0x40
shr eax, 1
test al, 1
je 0x40df34
or ecx, 0x20
shr eax, 1
test al, 1
je 0x40df3d
or ecx, 0x10
shr eax, 1
test al, 1
je 0x40df46
or ecx, 8
shr eax, 1
test al, 1
je 0x40df4f
or ecx, 4
shr eax, 1
test al, 1
je 0x40df58
or ecx, 2
test al, 2
je 0x40df5f
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [ebx*4 + 0x44c760], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
mov edi, edi
test al, 1
je 0x40e02d
mov esi, 1
shl esi, cl
or edx, esi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x40e020
mov dword [ebx*4 + 0x44c760], edx
inc ebx
cmp ebx, 0xff
jle 0x40df14
pop esi
pop ebx
ret
Function at 0x40e7b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x1908
mov byte [esp + 0x17], 0
call fcn.00430d06
mov edx, eax
add esp, 4
test edx, edx
je 0x40e7e0
mov ecx, 0x642
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [0x44cb60], edx
jmp 0x40e7ea
mov dword [0x44cb60], 0
push 0x4417f8
push str.playerdata.dat
call fcn.00432b8e
mov esi, eax
add esp, 8
test esi, esi
je 0x40e886
mov eax, dword [0x44cb60]
push esi
push 1
push 0x1908
push eax
call fcn.00432ae6
mov edi, dword [0x44cb60]
add esp, 0x10
or eax, 0xffffffff
mov ecx, edi
mov edx, 0x1904
lea esp, [esp]
movzx ebp, byte [ecx]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x44c760]
shr eax, 8
xor eax, ebp
inc ecx
dec edx
jne 0x40e830
mov ecx, dword [edi + 0x1904]
not eax
cmp eax, ecx
je 0x40e871
push 0
push 0x4413a8
push str.Player_data_corrupted___If_you_want_to_recover_your_record_please_send_playerdata.bak_inside_Motoramas_directory_to_support_motoramagame.com
push 0
mov bl, 1
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x40e875
mov bl, byte [esp + 0x13]
push esi
call fcn.004329ac
add esp, 4
test bl, bl
je 0x40e942
mov esi, dword [0x44cb60]
or eax, 0xffffffff
mov ecx, esi
mov edx, 0x1904
jmp 0x40e8a0
movzx ebx, byte [ecx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebp, dword [edi*4 + 0x44c760]
shr eax, 8
xor eax, ebp
inc ecx
dec edx
jne 0x40e8a0
not eax
push 0x441754
push str.playerdata.bak
mov dword [esi + 0x1904], eax
call fcn.00432b8e
mov ecx, dword [0x44cb60]
mov esi, eax
push esi
push 1
push 0x1908
push ecx
call fcn.00432914
push esi
call fcn.004327b4
push esi
call fcn.004329ac
mov edx, dword [0x44cb60]
push edx
call fcn.0043134d
push 0x1908
call fcn.00430d06
mov edx, eax
add esp, 0x28
test edx, edx
je 0x40e933
xor eax, eax
mov edi, edx
mov ecx, 0x642
rep stosd dword es:[edi], eax
mov dword [0x44cb60], edx
call fcn.0040e520
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
mov dword [0x44cb60], 0
call fcn.0040e520
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret

Function at 0x40ece0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x44b6d0]
mov dword [esp + 0x204], eax
push esi
push edi
xor eax, eax
xor dl, dl
mov byte [esp + 8], dl
mov ecx, 0x3f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x108], dl
mov ecx, 0x3f
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xff
lea eax, [esp + 0xc]
push eax
push str.ALTUSERNAME
call esi
test eax, eax
jmp 0x40ed59
push 0xff
lea ecx, [esp + 0x10c]
push ecx
push str.USERKEY
call esi
test eax, eax
nop
nop
lea edx, [esp + 8]
push str.DEFAULT
push edx
call fcn.0043e65e
mov ecx, dword [esp + 0x214]
add esp, 8
test eax, eax
setne al
call fcn.00431ec7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43f51b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
push 0x234
mov dword [esi], ebp
mov byte [esi + 0x58], 0
call fcn.00430d06
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x18], 0
je 0x415b40
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x1a
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [eax]
push ebp
push eax
mov ecx, edi
call fcn.00415620
jmp 0x415b42
xor eax, eax
mov ecx, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x5c], eax
call fcn.00415a40
test eax, eax
mov edx, 1
jne 0x415b60
mov byte [esi + 0x58], dl
mov eax, 0x28
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov eax, 6
mov ecx, 0x26
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi + 0xc], 0x25
mov dword [esi + 0x10], 0x27
mov dword [esi + 0x1c], 0x20
mov dword [esi + 0x20], 0xd
mov dword [esi + 0x3c], 7
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], edx
mov dword [esi + 0x28], 2
mov dword [esi + 0x2c], 3
mov dword [esi + 0x40], 8
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x417280
Capabilities:
Connect to http server

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub esp, 0x18
push 0
push 0
push 3
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.wininet.dll_InternetConnectA]
test eax, eax
jne 0x4172d7
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [str.::InternetConnect_failed.]
push eax
push 0x193
push edx
lea ecx, [esp + 0xc]
call fcn.00417020
push 0x448c04
lea eax, [esp + 4]
push eax
call fcn.0043181e
add esp, 0x18
ret

Function at 0x4173d0
Capabilities:
Send data

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x2c]
xor esi, esi
test edi, edi
jbe 0x417413
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
lea esp, [esp]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebx]
push edx
push ebp
call dword [sym.imp.wininet.dll_InternetWriteFile]
test eax, eax
je 0x417419
add esi, dword [esp + 0x34]
cmp esi, edi
jb 0x4173f0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, dword [str.::InternetWriteFile_failed.]
push 0x198
push eax
lea ecx, [esp + 0x1c]
call fcn.00417020
push 0x448c04
lea ecx, [esp + 0x14]
push ecx
call fcn.0043181e
int3
Function at 0x41ad30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 0xf0]
test eax, eax
je 0x41ad3f
jmp fcn.0041a540
jmp fcn.0041a8d0

Function at 0x4229a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43fc8b
push eax
mov dword fs:[0], esp
mov al, byte [esp + 0x10]
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov ecx, dword [esp + 0x20]
push edi
lea edi, [esi + 4]
mov byte [esi + 0xa0], al
mov eax, 0x3f000000
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x4c], eax
mov dword [edi], ecx
mov eax, 0x3f800000
lea ebp, [esi + 0x6c]
mov dword [ebp], eax
xor ecx, ecx
mov dword [ebp + 4], ecx
xor edx, edx
mov dword [ebp + 8], edx
xor eax, eax
mov dword [ebp + 0xc], eax
mov eax, 0x3f800000
lea ebp, [esi + 0x5c]
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov ecx, eax
mov edx, eax
mov dword [ebp + 8], ecx
push 0xa4d4
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x14], 0x40400000
mov dword [esi + 0x10], 0x3f800000
mov byte [esi + 0x20], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], 0xc0200000
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x3dcccccd
mov dword [esi + 0x34], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], 0x64
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], 0x40c8f5c3
mov dword [esi + 0x18], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp + 0xc], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
call fcn.00430d06
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x422ab5
push ebx
push edi
mov ecx, eax
call fcn.0042f1a0
mov dword [esi + 0x84], eax
jmp 0x422abb
mov dword [esi + 0x84], ebx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x42a330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x440038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x44b6d0]
fld dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x10]
push eax
mov ebp, ecx
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push ebx
sub esp, 8
fstp qword [esp]
call fcn.0043355e
mov edi, 0xf
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x42a390
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00401c50
fld dword [esp + 0x84]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x8c], ebx
call fcn.0043355e
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x42a3e0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401c50
fld dword [esp + 0x80]
fcomp dword [0x441444]
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x78], 1
mov dword [esp + 0x84], ecx
mov edi, 0x10
fnstsw ax
test ah, 0x41
jne 0x42a4f4
fld dword [esp + 0x84]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
sub esp, 8
fstp qword [esp]
call fcn.0043355e
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x42a460
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401c50
cmp dword [esp + 0x30], edi
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x78], 2
jae 0x42a487
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x4c], edi
mov eax, dword [esp + 0x38]
jae 0x42a495
lea eax, [esp + 0x38]
push ecx
push eax
mov ecx, ebp
call fcn.00407740
fld dword [esp + 0x84]
fsub dword [0x441428]
mov eax, dword [esp + 0x4c]
cmp eax, edi
mov byte [esp + 0x78], 1
fstp dword [esp + 0x84]
jb 0x42a4cc
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043134d
add esp, 4
fld dword [esp + 0x84]
mov dword [esp + 0x4c], 0xf
fcomp dword [0x441444]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
fnstsw ax
test ah, 0x41
je 0x42a424
cmp dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
jae 0x42a502
lea eax, [esp + 0x1c]
push eax
push 0x44392c
mov ecx, ebp
call fcn.00407740
mov ecx, ebp
call fcn.00424a60
cmp dword [esp + 0x30], edi
jb 0x42a529
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043134d
add esp, 4
cmp dword [esp + 0x68], edi
pop edi
pop esi
pop ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x24], 0xf
pop ebx
jb 0x42a550
mov eax, dword [esp + 0x44]
push eax
call fcn.0043134d
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c]
call fcn.00431ec7
add esp, 0x6c
ret 8
Function at 0x42b547
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44008e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea edi, [esi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 2
call fcn.0042ab80
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0042ab80
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x42bd40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4400f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x14], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
push 0x4411cc
mov byte [esp + 0x18], 1
mov dword [esi + 0x48], 4
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
call fcn.0042ab80
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret