joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002483
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x1004068]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x824]
push eax
mov esi, 0x104
xor edi, edi
push esi
mov dword [ebp - 0x828], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1002506
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x10017d4
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1002506
push edi
push 0x80
push 2
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x828], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100252d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jg 0x100251b
call ebx
mov esi, eax
jmp 0x10025a0
call ebx
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10025a0
and dword [ebp - 0x82c], 0
push ebx
push 0x1001760
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0100241c
add esp, 0x10
mov esi, eax
push 0
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1002599
call ebx
test eax, eax
jg 0x1002589
call ebx
mov esi, eax
jmp 0x1002599
call ebx
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jl 0x1002668
mov edi, 0x208
push edi
lea eax, [ebp - 0x61c]
push eax
push 0x10016c8
call fcn.01001ab3
mov esi, eax
test esi, esi
jl 0x1002668
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100244a
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x880]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x83c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x880]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x61c]
push ecx
push eax
mov dword [ebp - 0x880], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002644
call ebx
test eax, eax
jg 0x1002632
call ebx
mov esi, eax
jmp 0x1002668
call ebx
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1002668
push 0xffffffffffffffff
push dword [ebp - 0x83c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x83c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x838]
call edi
cmp dword [ebp - 0x828], 0
je 0x100267e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0100289a
leave
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x8d66ba6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xd726550
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41d590
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, ecx
and esi, 3
sub ecx, esi
lea ebx, [edx + ecx]
cmp edx, ebx
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov eax, edx
je 0x41d5e2
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, edi
sub ebp, edi
sub ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x41d5c8
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov edi, dword [ecx + ebp]
xor edi, dword [ecx]
add eax, 4
cmp eax, ebx
mov dword [eax - 4], edi
jne 0x41d5c4
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
pop ebp
add ecx, edi
test esi, esi
je 0x41d600
mov eax, ecx
sub eax, edi
mov edi, dword [esp + 0x10]
add eax, edx
sub edi, edx
mov dl, byte [eax + edi]
xor dl, byte [ecx]
inc ecx
mov byte [eax], dl
inc eax
dec esi
jne 0x41d5f4
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x4544d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa4]
push edi
push esi
call fcn.004d8eb0
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jle 0x45469d
jmp 0x454500
mov ebx, esi
sar ebx, 0x10
push str.rtsgt
lea ecx, [esp + 0x44]
and ebx, 0xf
call fcn.00418c70
push str.rtsgt
lea ecx, [esp + 0x28]
call fcn.00418c70
mov eax, esi
and eax, 0xff00
add eax, 0x100
mov edi, esi
mov ecx, esi
and ecx, 0xff0000
shr edi, 0x18
or eax, ecx
shl edi, 0x18
or eax, edi
push eax
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.005b7540
add esp, 0xc
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.005b7510
add esp, 0xc
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push str.team_lookup
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.005bdce0
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x18], 0x8477e8
je 0x4545c3
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4545d2
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp eax, ecx
mov dword [esp + 0x18], 0x84760c
je 0x4545f5
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x5c], 0x84760c
je 0x454618
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x454639
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0x80], 0x84760c
je 0x45465f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
cmp ebp, 2
jg 0x454694
mov eax, esi
and eax, 0xf0000
add eax, 0x10000
and esi, 0xf00000
or eax, esi
or eax, edi
mov esi, eax
cmp ebx, dword [esp + 0x10]
jl 0x454500
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x10]
dec ebx
cmp ebx, eax
jl 0x4546ab
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x94
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x94
ret
Function at 0x493a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00491c30
mov ebx, eax
xor eax, eax
mov edi, 0x63
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004a5bf0
test al, al
mov byte [esp + 0x13], al
je 0x493af4
mov ebp, dword [esp + 0x84]
push str._potential
mov ecx, ebp
call fcn.00419060
push 0x853a28
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.00419060
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.00528f30
mov edx, dword [esp + 0x30]
sub edx, esi
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
add esp, 4
fmul dword [0x853bf0]
call fcn.0081cba0
mov ecx, dword [esp + 0x90]
sub ecx, eax
cmp ecx, 0x2d
mov dword [esp + 0x18], ecx
jl 0x493aaf
mov dword [esp + 0x18], 0x2c
push ebp
call fcn.004934c0
add esp, 4
push str.developmentstylecode
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.00419060
push str.developmenttypecode
mov ecx, ebp
mov edi, eax
call fcn.00419060
mov esi, eax
push esi
push edi
call fcn.004a3ae0
push esi
mov dword [esp + 0x34], eax
call fcn.004a3b00
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
xor ebp, ebp
jmp 0x493b00
mov eax, dword [ebx + ebp*8]
cmp eax, 0xffffffff
je 0x493bda
mov eax, dword [eax*4 + 0x8ae358]
push eax
lea ecx, [esp + 0x38]
call fcn.00409ef0
mov ecx, dword [esp + 0x7c]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x8c]
test eax, eax
mov dword [esp + 0x1c], esi
je 0x493b4c
mov edx, dword [ebx + ebp*8]
add esi, dword [eax + edx*4]
mov dword [esp + 0x1c], esi
mov al, byte [esp + 0x13]
test al, al
je 0x493bb5
mov eax, dword [ebx + ebp*8]
push eax
call fcn.00491cb0
add esp, 4
test al, al
mov eax, dword [esp + 0x24]
jne 0x493b6c
mov eax, dword [esp + 0x28]
fild dword [esp + 0x18]
sub esp, 8
lea ecx, [esp + 0x38]
fstp dword [esp + 4]
fild dword [esp + 0x34]
fstp dword [esp]
push esi
push eax
call fcn.004a5f50
cmp dword [esp + 0x14], esi
jge 0x493b91
mov edi, esi
cmp eax, 0xa
jge 0x493b9d
mov eax, 0xa
jmp 0x493ba7
cmp eax, 0x63
jle 0x493ba7
mov eax, 0x63
cmp eax, edi
jle 0x493bad
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x3c]
cmp eax, ecx
fmul dword [ebx + ebp*8 + 4]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
je 0x493bda
push eax
call fcn.0079a005
add esp, 4
inc ebp
cmp ebp, 7
jl 0x493b00
fld dword [esp + 0x20]
fadd dword [0x846698]
call fcn.0081cba0
cmp eax, edi
jle 0x493bf9
mov eax, edi
cmp eax, 0x63
pop edi
pop esi
pop ebp
pop ebx
jle 0x493c0b
mov eax, 0x63
add esp, 0x70
ret
test eax, eax
jge 0x493c11
xor eax, eax
add esp, 0x70
ret
Function at 0x498eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [esp + 0x21c]
push ebp
push esi
xor esi, esi
test eax, eax
push edi
mov dword [esp + 0xc], esi
lea ebp, [esp + 0x20]
mov edi, 0x100
je 0x498f04
push eax
mov eax, ebp
push 0x854808
push eax
call fcn.0081cf4d
mov eax, ebp
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x498ef0
sub eax, edx
mov edi, 0x100
lea ebp, [esp + eax + 0x20]
sub edi, eax
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x498ff1
push ebx
xor ebx, ebx
jmp 0x498f30
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x28]
push eax
push ebp
push ebx
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
test esi, esi
jne 0x498fce
mov al, byte [esp + 0x24]
test al, al
lea ecx, [esp + 0x24]
je 0x498f8a
mov al, byte [ecx]
cmp al, 0x61
jl 0x498f82
cmp al, 0x7a
jg 0x498f82
sub al, 0x20
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x498f74
mov eax, dword [esp + 0x1c]
dec eax
je 0x498fb1
sub eax, 3
jne 0x498fce
mov edx, dword [esp + 0x124]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00704c0b
mov ecx, eax
call fcn.007053db
jmp 0x498fca
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00704c0b
mov ecx, eax
call fcn.00705358
inc dword [esp + 0x10]
inc ebx
test esi, esi
je 0x498f30
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x214
ret
Function at 0x4a43a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x10
fild dword [0xac0cd0]
push ebx
push ebp
push esi
fmul dword [0x84ee74]
push edi
call fcn.0081cba0
xor ebp, ebp
push 6
mov ebx, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call fcn.00796ca9
mov esi, eax
mov eax, dword [0xac0cd0]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov edx, eax
sub edx, ebx
add esp, 4
cmp ecx, edx
jl 0x4a43f0
mov dl, byte [0x8af234]
test dl, dl
jne reloc.KERNEL32.dll_FindClose
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov al, byte [esi + 0xc]
shl ecx, 1
test al, al
mov ebx, ecx
je 0x4a4447
mov eax, dword [0xac0ccc]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
shl edi, 1
sar edi, 1
neg edi
mov dword [esp + 0x18], edi
fild dword [esp + 0x18]
fmul dword [0x856b08]
call fcn.0081cba0
mov dword [esp + 0x14], eax
lea eax, [ebx + ebx]
neg eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x856b08]
call fcn.0081cba0
mov dword [esp + 0x18], eax
mov al, byte [esi + 0xd]
test al, al
je reloc.KERNEL32.dll_FindClose
cmp ebx, ebp
je reloc.KERNEL32.dll_FindClose
sar ebx, 3
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fmul dword [0x856b04]
call fcn.0081cba0
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.USER32.dll_VkKeyScanA]
push 0x3d
call esi
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
push ecx
call ebx
test ax, ax
mov edi, 0xb6
jne GetVolumeInformationA
push 0x2b
call esi
movsx edx, ax
push edx
call ebx
test ax, ax
je 0x4a449f
sub dword [esp + 0x10], edi
push 0x2d
call esi
movsx eax, ax
push eax
call ebx
test ax, ax
je reloc.KERNEL32.dll_GetSystemInfo
add dword [esp + 0x10], edi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 1
push 0x1e
call esi
push 1
push 0x20
mov edi, eax
call esi
push 1
push 0x11
mov ebp, eax
call esi
push 1
push 0x1f
mov dword [esp + 0x24], eax
call esi
push edi
mov esi, eax
call ebx
test ax, ax
mov edi, dword [esp + 0x14]
je 0x4a44ec
sub edi, 0x16c
push ebp
call ebx
test ax, ax
je 0x4a44fa
add edi, 0x16c
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
test ax, ax
mov ebp, dword [esp + 0x18]
je SetThreadPriority
add ebp, 0x16c
push esi
call ebx
test ax, ax
je 0x4a451e
sub ebp, 0x16c
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4a452e
test edi, edi
jne 0x4a452e
test ebp, ebp
je 0x4a454d
call fcn.0043f6c0
cmp eax, 0xd
je reloc.KERNEL32.dll_ResumeThread
push 0xd
call fcn.0043f6e0
add esp, 4
push esi
push ebp
push edi
call fcn.0043f850
add esp, 0xc
mov eax, dword [0x8af424]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x4a456c
mov eax, dword [0x8af428]
test eax, eax
jne 0x4a456c
mov eax, dword [0x8af42c]
test eax, eax
je 0x4a459c
call fcn.0043f6c0
cmp eax, 0xd
je IsBadWritePtr
push 0xd
call fcn.0043f6e0
add esp, 4
mov edx, dword [0x8af424]
mov eax, dword [0x8af42c]
mov ecx, dword [0x8af428]
push edx
push eax
push ecx
call fcn.0043f850
add esp, 0xc
add esp, 0x10
ret
Function at 0x4a5fa1
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, ecx
mov al, byte [esi + 0x28]
test al, al
je 0x4a6062
call fcn.0043cc60
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4a5fd2
push 0
push 0
push 0x12d
call fcn.0070c660
add esp, 0xc
mov ecx, esi
call reloc.KERNEL32.dll_ResetEvent
push 0x3c888889
call fcn.0043f810
mov eax, dword [esi + 0x2c]
add esp, 4
cmp eax, 2
jle 0x4a6033
call fcn.0043cba0
fsub dword [0x847068]
fld st(0)
fchs
fstp dword [esp + 4]
fcom dword [esp + 4]
fnstsw ax
test ah, 0x41
je 0x4a6012
fstp st(0)
fld dword [esp + 4]
fcomp dword [0x84f090]
fnstsw ax
test ah, 5
jp 0x4a6062
push 0
mov dword [esi + 0x2c], 2
call fcn.0043caf0
add esp, 4
pop esi
pop ecx
ret
jge 0x4a6062
push 0x38d1b717
push 0
call fcn.0043cba0
push ecx
fstp dword [esp]
call fcn.004a3660
add esp, 0xc
test al, al
je 0x4a6062
push 0
mov dword [esi + 0x2c], 2
call fcn.0043caf0
add esp, 4
pop esi
pop ecx
ret
Function at 0x4a7160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0xa91f2c]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [0xa91f30]
push edi
add ebp, eax
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], bl
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
jle 0x4a72f3
push esi
lea esi, [esp + 0x1a]
mov edi, edi
call fcn.0060fae0
and al, 1
mov byte [esi - 1], al
call fcn.0060fae0
xor edx, edx
mov ecx, 5
div ecx
mov byte [esi], dl
call fcn.0060fae0
xor edx, edx
div dword [esp + 0x90]
mov eax, dword [esp + 0x10]
add edx, 0x3c
cmp edi, eax
mov dword [esi - 6], edx
setge dl
mov byte [esi - 2], dl
inc edi
add esi, 0xc
cmp edi, ebp
jl 0x4a72b0
pop esi
push 0x4a45a0
push 0xc
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0081db70
add esp, 0x10
xor eax, eax
cmp ebp, ebx
jle 0x4a734e
mov edi, edi
cmp ebx, 0x78
jge 0x4a7346
mov dl, byte [esp + ebx + 0x14]
lea ecx, [eax + 1]
mov dword [0xa91edc], ecx
mov ecx, dword [esp + ebx + 0x10]
mov byte [ebx + 0xa9137c], dl
mov dl, byte [esp + ebx + 0x15]
mov dword [ebx + 0xa91378], ecx
mov cl, byte [esp + ebx + 0x16]
mov byte [ebx + 0xa9137d], dl
mov byte [ebx + 0xa9137e], cl
inc eax
add ebx, 0xc
cmp eax, ebp
jl 0x4a7310
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004a6ca0
add esp, 0xc
pop edi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x4e12d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [0x9297bc], 1
call fcn.004a7cc0
mov ecx, eax
call fcn.005c4870
call fcn.004a7cc0
mov dword [eax + 0x68], fcn.004d35d0
call fcn.004a7cc0
mov dword [eax + 0x70], fcn.004d34c0
call fcn.004a7cc0
mov dword [eax + 0x74], 0x4d22d0
call fcn.004a7cc0
mov ecx, eax
jmp fcn.005ca410
Function at 0x5298b0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x60]
lea eax, [esi - 0xe]
cmp eax, 0x1f
mov ebx, 9
ja case.0x5298cd.15
movzx eax, byte [eax + 0x529a40]
jmp dword [eax*4 + 0x529a24]
pop esi
mov eax, 3
pop ebx
add esp, 0x54
ret
pop esi
mov eax, 4
pop ebx
add esp, 0x54
ret
pop esi
mov eax, 5
pop ebx
add esp, 0x54
ret
pop esi
mov eax, 6
pop ebx
add esp, 0x54
ret
pop esi
mov eax, 7
pop ebx
add esp, 0x54
ret
pop esi
mov eax, 8
pop ebx
add esp, 0x54
ret
push str.countryid
lea ecx, [esp + 0x20]
call fcn.00418c70
lea ecx, [esp + 0x60]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
push str.country
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 8]
call fcn.005bdce0
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x44]
cmp eax, edx
je 0x529985
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x38], 0x84760c
je 0x5299a8
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x60]
call fcn.005b6c70
test eax, eax
jle 0x529a0c
mov ecx, dword [esp + 0x60]
push edi
push 0
lea eax, [esp + 0x14]
push eax
call fcn.005b6e00
push str.continentid
lea ecx, [esp + 0x14]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5299fb
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5299fb
test esi, esi
je 0x5299fb
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test edi, edi
jle 0x529a0b
cmp edi, 7
jge 0x529a0b
mov ebx, dword [edi*4 + 0x8af6e0]
pop edi
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x529a1a
push ecx
call fcn.00418f80
pop esi
mov eax, ebx
pop ebx
add esp, 0x54
ret
Function at 0x52bea0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x48
push str.teamid
lea ecx, [esp + 0xc]
call fcn.00418c70
mov ecx, dword [esp + 0x4c]
lea eax, [esp]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.005b7360
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.teams
push str.leagues
lea ecx, [esp + 0x2c]
push str.leagueteamlinks
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005bd530
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 4]
call fcn.005bdce0
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x52bf32
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x24], 0x84760c
je 0x52bf55
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp]
call fcn.005b6c70
test eax, eax
jle 0x52bff8
mov ecx, dword [esp]
push esi
push 0
lea eax, [esp + 0x10]
push eax
call fcn.005b6e00
push str.countryid
lea ecx, [esp + 0x10]
call fcn.00419060
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x52bfae
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x52bfae
test esi, esi
je 0x52bfae
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 4]
push 0
lea edx, [esp + 0x10]
push edx
call fcn.005b6e00
push str.signsyouthplayersfrom
lea ecx, [esp + 0x10]
call fcn.00419060
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x52bff7
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x52bff7
test esi, esi
je 0x52bff7
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
pop esi
mov ecx, dword [esp]
test ecx, ecx
je 0x52c005
push ecx
call fcn.00418f80
add esp, 0x48
ret