joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x626734]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0
cmp eax, 1
jne 0x456f65
test esi, esi
jne 0x456e50
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005566b4
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
test eax, eax
je 0x456e65
push eax
call fcn.00556b0a
add esp, 4
mov dword [edi], 0
push 0x10000
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x456f23
push str.WAVE
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x456ea8
push 0x5cfe88
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x456f7a
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x456f7a
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x456f7a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x456f7a
push ebx
call fcn.00556b01
push ebx
push dword [ebp - 0x50]
mov esi, eax
push esi
call fcn.00558ae0
push 0x48
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00559060
add esp, 0x1c
mov dword [ebp - 0x48], 0x204d454d
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
push 0x10000
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
mov ecx, edi
call fcn.00457210
mov esi, eax
test esi, esi
jns 0x456f50
push 0
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005566b4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
call fcn.00457440
mov ecx, eax
test ecx, ecx
js 0x456fad
mov eax, dword [edi + 0xc]
mov dword [edi + 0x30], eax
jmp 0x456fad
push 0x11002
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x456f92
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005566b4
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ecx, edi
call fcn.00457740
mov esi, eax
test esi, esi
js 0x456f30
mov ecx, edi
call fcn.00457440
mov ecx, eax
test ecx, ecx
js 0x456faf
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005566b4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x457a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftDirectX
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x457b04
push esi
lea eax, [ebp - 8]
push eax
push 0x6291c8
lea eax, [ebp - 0xc]
push eax
push 0
push str.DX8SDK_Samples_Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x457b04
mov edx, 0x6291c8
dec edx
mov cl, byte [edx + 1]
lea edx, [edx + 1]
test cl, cl
jne 0x457ae0
mov ecx, dword [str.Media_]
mov eax, 0x6291c8
mov dword [edx], ecx
mov ecx, dword [0x5cfee4]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret
mov eax, 0x6291c0
mov esp, ebp
pop ebp
ret
Function at 0x465e90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x62932c]
push dword [esi + 0x128]
call fcn.00468170
xor edx, edx
cmp dword [esi + 0x124], edx
jle 0x465ee3
movss xmm2, dword [0x5cfe50]
nop word [eax + eax]
movss xmm0, dword [eax + 8]
lea eax, [eax + 0x24]
movss xmm1, dword [eax - 0x24]
xorps xmm0, xmm2
movss dword [eax - 0x24], xmm0
inc edx
movss dword [eax - 0x1c], xmm1
cmp edx, dword [esi + 0x124]
jl 0x465ec0
push dword [esi + 0x128]
mov ecx, dword [0x62932c]
call fcn.00468250
pop esi
ret 4
Function at 0x4946c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
call fcn.00565cd7
cdq
mov ecx, 0x18
idiv ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [edx + edx*4]
shl ecx, 4
mov eax, dword [ecx + 0x60c2d0]
mov dword [esi], eax
mov eax, dword [ecx + 0x60c2d4]
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00565cd7
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esi]
lea esi, [edx - 1]
add esi, eax
mov dword [ebp - 8], esi
movd xmm0, esi
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x20], xmm0
call fcn.00565cd7
mov ecx, 3
cdq
idiv ecx
lea ecx, [edx - 1]
add ecx, dword [edi]
mov edi, 0x3e8
cmp dword [0x645bc8], 2
mov dword [ebp - 0xc], ecx
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movups xmmword [ebp - 0x30], xmm0
jl 0x49489a
movaps xmm6, xmmword [0x5d3750]
mov eax, 0x60c370
movaps xmm7, xmm6
nop word [eax + eax]
movd xmm3, dword [eax + 0x50]
movd xmm0, dword [eax]
movd xmm1, dword [eax - 0x50]
movd xmm2, dword [eax - 0xa0]
movaps xmm4, xmmword [ebp - 0x20]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 4]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x54]
punpckldq xmm2, xmm1
movd xmm1, dword [eax - 0x4c]
psubd xmm4, xmm2
movd xmm2, dword [eax - 0x9c]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x190]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf0]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa0]
pabsd xmm0, xmm4
movaps xmm4, xmmword [ebp - 0x20]
pmaxsd xmm0, xmm5
pminsd xmm6, xmm0
movd xmm0, dword [eax + 0x140]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 0x144]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x194]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf4]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa4]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
add eax, 0x280
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
psubd xmm4, xmm2
pabsd xmm0, xmm4
pmaxsd xmm0, xmm5
pminsd xmm7, xmm0
cmp eax, 0x60caf0
jl 0x494780
pminsd xmm6, xmm7
movaps xmm0, xmm6
psrldq xmm0, 8
pminsd xmm6, xmm0
movups xmm0, xmm6
psrldq xmm0, 4
pminsd xmm6, xmm0
movd edi, xmm6
jmp 0x4948d3
mov ecx, 0x60c2d4
nop
mov eax, esi
sub eax, dword [ecx - 4]
cdq
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ecx]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
cmovl esi, eax
cmp esi, edi
cmovge esi, edi
add ecx, 0x50
mov edi, esi
mov esi, dword [ebp - 8]
cmp ecx, 0x60ca54
jl 0x4948a0
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x4948f4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
cmp edi, dword [ebx + 0x14]
jge 0x49490a
mov esi, dword [ebx + 0xc]
mov edi, eax
jmp 0x49470b
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0xc]
inc eax
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], eax
cmp eax, 0x14
jl 0x494710
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x4950c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
call fcn.00565cd7
cdq
mov ecx, 0x18
idiv ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [edx + edx*4]
shl ecx, 4
mov eax, dword [ecx + 0x60c2d0]
mov dword [esi], eax
mov eax, dword [ecx + 0x60c2d4]
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00565cd7
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esi]
lea esi, [edx - 1]
add esi, eax
mov dword [ebp - 8], esi
movd xmm0, esi
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x20], xmm0
call fcn.00565cd7
mov ecx, 3
cdq
idiv ecx
lea ecx, [edx - 1]
add ecx, dword [edi]
mov edi, 0x3e8
cmp dword [0x645bc8], 2
mov dword [ebp - 0xc], ecx
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movups xmmword [ebp - 0x30], xmm0
jl 0x49529a
movaps xmm6, xmmword [0x5d3750]
mov eax, 0x60c370
movaps xmm7, xmm6
nop word [eax + eax]
movd xmm3, dword [eax + 0x50]
movd xmm0, dword [eax]
movd xmm1, dword [eax - 0x50]
movd xmm2, dword [eax - 0xa0]
movaps xmm4, xmmword [ebp - 0x20]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 4]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x54]
punpckldq xmm2, xmm1
movd xmm1, dword [eax - 0x4c]
psubd xmm4, xmm2
movd xmm2, dword [eax - 0x9c]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x190]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf0]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa0]
pabsd xmm0, xmm4
movaps xmm4, xmmword [ebp - 0x20]
pmaxsd xmm0, xmm5
pminsd xmm6, xmm0
movd xmm0, dword [eax + 0x140]
punpckldq xmm2, xmm0
movd xmm0, dword [eax + 0x144]
punpckldq xmm1, xmm3
movd xmm3, dword [eax + 0x194]
punpckldq xmm2, xmm1
movd xmm1, dword [eax + 0xf4]
psubd xmm4, xmm2
movd xmm2, dword [eax + 0xa4]
pabsd xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x30]
add eax, 0x280
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
psubd xmm4, xmm2
pabsd xmm0, xmm4
pmaxsd xmm0, xmm5
pminsd xmm7, xmm0
cmp eax, 0x60caf0
jl 0x495180
pminsd xmm6, xmm7
movaps xmm0, xmm6
psrldq xmm0, 8
pminsd xmm6, xmm0
movups xmm0, xmm6
psrldq xmm0, 4
pminsd xmm6, xmm0
movd edi, xmm6
jmp 0x4952d3
mov ecx, 0x60c2d4
nop
mov eax, esi
sub eax, dword [ecx - 4]
cdq
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ecx]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
cmovl esi, eax
cmp esi, edi
cmovge esi, edi
add ecx, 0x50
mov edi, esi
mov esi, dword [ebp - 8]
cmp ecx, 0x60ca54
jl 0x4952a0
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x4952f4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
cmp edi, dword [ebx + 0x14]
jge 0x49530a
mov esi, dword [ebx + 0xc]
mov edi, eax
jmp 0x49510b
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0xc]
inc eax
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], eax
cmp eax, 0x14
jl 0x495110
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x4f6ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c63a7
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x626734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4f6af4
push 0x5ceffc
push str.dat_terrain_bytes.raw
call fcn.0056632e
add esp, 8
mov edi, eax
jmp 0x4f6b12
cmp ebx, 1
jne 0x4f6b0f
push 0x5ceffc
push str.dat_terrain2_bytes.raw
call fcn.0056632e
add esp, 8
mov edi, eax
jmp 0x4f6b12
mov edi, dword [ebp + 8]
push edi
push 0x10000
lea eax, [esi + 0x128]
push 1
push eax
call fcn.0058e77f
push edi
call fcn.00566040
push 0x280004
mov dword [esi + 0x108], 0x100
mov dword [esi + 0x10c], 0x100
mov dword [esi + 0x124], ebx
call fcn.00556b01
add esp, 0x18
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4f6b83
push fcn.0050b860
push 0x4ee100
push 0x10000
lea edi, [eax + 4]
mov dword [eax], 0x10000
push 0x28
push edi
call fcn.00556ed0
jmp 0x4f6b85
xor edi, edi
push 0
push 0
push 0x100
push 0x100
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x120], edi
call fcn.00529920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4fa940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov ecx, 0x62912c
push str.GroundObjectTiles::Generate
call fcn.00448110
cmp dword [ebp + 0x14], 0
jne 0x4fa961
call fcn.00565cd7
mov ecx, dword [esi + 0x128]
test ecx, ecx
je 0x4fa97b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x128], 0
push ebx
push 0x1c0000
mov dword [esi + 0x108], 0x100
mov dword [esi + 0x10c], 0x100
call fcn.00556b01
mov ecx, dword [esi + 0x10c]
add esp, 4
xor ebx, ebx
mov dword [esi + 0x120], eax
test ecx, ecx
jle 0x4faa81
nop dword [eax]
nop word [eax + eax]
xor edx, edx
cmp dword [esi + 0x108], edx
jle 0x4faa72
nop
xor edi, edi
mov eax, dword [esi + 0x108]
imul eax, ebx
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x120]
lea eax, [eax + ecx*4]
mov byte [eax + edi], 0
mov eax, dword [esi + 0x108]
imul eax, ebx
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x120]
lea eax, [eax + ecx*4]
mov byte [eax + edi + 1], 0
mov eax, dword [esi + 0x108]
imul eax, ebx
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x120]
lea eax, [eax + ecx*4]
mov byte [eax + edi + 2], 0
mov eax, dword [esi + 0x108]
imul eax, ebx
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x120]
lea eax, [eax + ecx*4]
mov byte [eax + edi + 3], 0
add edi, 4
cmp edi, 0x1c
jl 0x4fa9d2
inc edx
cmp edx, dword [esi + 0x108]
jl 0x4fa9d0
mov ecx, dword [esi + 0x10c]
inc ebx
cmp ebx, ecx
jl 0x4fa9c0
mov eax, dword [esi + 0x108]
imul eax, ecx
push eax
call fcn.00556b01
add esp, 4
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x110]
pop ebx
test eax, eax
jne 0x4faab0
push 0x5ceffc
push str.dat_roads_256.raw
jmp 0x4faabf
cmp eax, 1
jne 0x4faaeb
push 0x5ceffc
push str.dat_roads2_256.raw
call fcn.0056632e
mov ecx, dword [esi + 0x10c]
mov edi, eax
imul ecx, dword [esi + 0x108]
push edi
push ecx
push 1
push dword [esi + 0x198]
call fcn.0058e77f
push edi
call fcn.00566040
add esp, 0x1c
push str.Done_n
mov ecx, 0x62912c
call fcn.00448110
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x5031a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x62ab88]
push edi
call fcn.00467a10
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, 0xc8
mov byte [ebp - 0xc], 0x13
setne bl
lea ebx, [ebx*2 + 1]
cmp edi, 0xc9
jne 0x5031de
mov ebx, 2
jmp 0x5031ec
cmp edi, 0xcb
mov eax, 4
cmove ebx, eax
mov ecx, dword [esi + 0x20c]
push 0x19
add ecx, 0x140
call fcn.0044e210
test eax, eax
jne 0x503251
mov ecx, dword [esi + 0x20c]
push dword [esi + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x629448]
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x22e4]
push 0
push 0
mov byte [ebp - 7], bl
mov dword [ebp - 0xb], eax
mov eax, dword [ecx]
push edx
push 0xa
call dword [eax + 4]
mov eax, 0x22fc
mov dword [eax + esi], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, dword [esi + 0x22fc]
jne 0x50321f
mov ecx, dword [esi + 0x20c]
push dword [esi + 0x214]
add ecx, 0x140
call fcn.0044e520
mov ecx, dword [esi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, 0x22fc
pop edi
mov dword [eax + esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50e5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7062
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x626734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push ebx
push edi
call fcn.00529920
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x124], edi
mov dword [ecx + 0x108], edi
imul edi, ebx
mov dword [ecx + 0x128], ebx
mov dword [ecx + 0x10c], ebx
mov dword [ecx + 0x12c], esi
mov dword [ecx + 0x130], eax
push edi
call fcn.00556b01
mov ebx, dword [ebp - 0x10]
push 0x5ceffc
push dword [ebp + 8]
mov dword [ebx + 0x138], eax
call fcn.0056632e
mov ecx, dword [ebx + 0x128]
mov esi, eax
imul ecx, dword [ebx + 0x124]
push esi
push ecx
push 1
push dword [ebx + 0x138]
call fcn.0058e77f
push esi
call fcn.00566040
mov edi, dword [ebx + 0x128]
xor ecx, ecx
imul edi, dword [ebx + 0x124]
mov edx, 0x28
mov eax, edi
mov dword [ebp + 0x18], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00556b01
add esp, 0x24
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x50e6e9
push fcn.0050b860
push 0x4ee100
push edi
lea esi, [eax + 4]
mov dword [eax], edi
push 0x28
push esi
call fcn.00556ed0
jmp 0x50e6eb
xor esi, esi
mov eax, dword [ebx + 0x128]
xor ecx, ecx
imul eax, dword [ebx + 0x124]
mov edx, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x120], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00556b01
add esp, 4
mov dword [ebx + 0x13c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x523a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8112
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x626734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push ebx
push edi
call fcn.00529920
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x124], edi
mov dword [ecx + 0x108], edi
imul edi, ebx
mov dword [ecx + 0x128], ebx
mov dword [ecx + 0x10c], ebx
mov dword [ecx + 0x12c], esi
mov dword [ecx + 0x130], eax
push edi
call fcn.00556b01
mov ebx, dword [ebp - 0x10]
push 0x5ceffc
push dword [ebp + 8]
mov dword [ebx + 0x138], eax
call fcn.0056632e
mov ecx, dword [ebx + 0x128]
mov esi, eax
imul ecx, dword [ebx + 0x124]
push esi
push ecx
push 1
push dword [ebx + 0x138]
call fcn.0058e77f
push esi
call fcn.00566040
mov edi, dword [ebx + 0x128]
xor ecx, ecx
imul edi, dword [ebx + 0x124]
mov edx, 0x28
mov eax, edi
mov dword [ebp + 0x18], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00556b01
add esp, 0x24
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x523b91
push fcn.0050b860
push 0x4ee100
push edi
lea esi, [eax + 4]
mov dword [eax], edi
push 0x28
push esi
call fcn.00556ed0
mov dword [ebx + 0x120], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebx + 0x120], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x52a8b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c89db
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x626734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x20]
lea eax, [edi + 0x10c]
push eax
mov eax, dword [0x629328]
push 0
push 0
push 0xffff00ff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push str.datmouseart.png
push dword [eax + 0x2a3d8]
call fcn.00408a02
push 0x170
call fcn.00556676
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x52a95c
mov ecx, dword [0x629328]
push 0
push str.WINDOW
call fcn.0045f1c0
mov ecx, dword [0x629328]
push eax
call fcn.0045f1d0
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0046bc40
jmp 0x52a95e
xor eax, eax
mov dword [edi + 0x19c], eax
mov byte [eax + 0x168], 0
mov eax, dword [edi + 0x19c]
push 0x1ac
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00556676
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x52a9d2
mov ecx, dword [0x629328]
push 0
push str.ARTTEXTBUTTON
call fcn.0045f1c0
mov ecx, dword [0x629328]
push eax
push 0xff
call fcn.0045f1c0
sub eax, 0x7f
mov ecx, esi
push eax
push 0
push 0
call fcn.00468280
mov esi, eax
jmp 0x52a9d4
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push str.Continue
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
push 0
push str.datcornerButt2High.png
push 1
mov ecx, esi
mov byte [esi + 0x168], 0
mov dword [esi + 0x150], 0x52ae00
mov dword [esi + 0x16c], 9
call fcn.004684b0
push 0
push str.datcornerButt2Down.png
push 2
mov ecx, esi
call fcn.004684b0
push 0
push str.datcornerButt2Up.png
push 0
mov ecx, esi
call fcn.004684b0
mov dword [esi + 0x18c], 0xffffffd3
mov dword [esi + 0x190], 0x52
mov ecx, dword [edi + 0x19c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x17c
call fcn.00556676
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x52aaa5
mov ecx, dword [0x629328]
push 0
push str.TEXTBOX
call fcn.0045f1c0
mov ecx, dword [0x629328]
sub eax, 0x64
push eax
call fcn.0045f1d0
sub eax, 0x46
mov ecx, esi
push eax
push 0x64
push 0x46
push 1
call fcn.0046b4b0
mov esi, eax
jmp 0x52aaa7
xor esi, esi
mov edx, dword [esi]
lea eax, [edi + 0x1a0]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 0x30]
mov dword [esi + 0x150], 0x52ae00
mov byte [esi + 0x168], 0
mov dword [esi + 0x16c], 9
mov ecx, dword [edi + 0x19c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x19c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x555dee
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0059a5cc
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x555e2d
sub eax, 1
je 0x555e28
sub eax, 1
je 0x555e24
xor eax, eax
leave
ret
push 3
jmp 0x555e2f
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x558396
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5583d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5583d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5583d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5583d5
cmp dword [ecx + 0x74], 0xe
jbe 0x5583d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5a6613
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f0f24
push 0x5f0f1c
push str.FlsAlloc
push 0x1e
call fcn.005a62e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5a6647
push dword [ebp + 8]
mov ecx, esi
call dword [0x5cd47c]
call esi
jmp 0x5a664d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5a6691
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f0f34
push 0x5f0f2c
push str.FlsGetValue
push 0x20
call fcn.005a62e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5a66c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x5cd47c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]