Function at 0x423f5f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov dword [ebp - 0x1d8], ecx
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.005997d0
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x78
jge 0x423f9f
cmp dword [ebp - 0x10c], 0
jge 0x423fa6
xor eax, eax
jmp 0x4249d8
cmp dword [0x5be8b4], 0x3a
jle 0x424072
mov edx, dword [0x5be8b4]
sub edx, 0x28
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 0xc]
and eax, 0xff000000
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xff0000
shr ecx, 0x10
sub ecx, dword [ebp - 0x130]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp + 0xc]
and edx, 0xff00
shr edx, 8
sub edx, dword [ebp - 0x130]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp + 0xc]
and eax, 0xff
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x124], 0
jge 0x424027
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x128], 0
jge 0x42403a
mov dword [ebp - 0x128], 0
cmp dword [ebp - 0x120], 0
jge 0x42404d
mov dword [ebp - 0x120], 0
mov ecx, dword [ebp - 0x124]
shl ecx, 0x10
mov edx, dword [ebp - 0x12c]
or edx, ecx
mov eax, dword [ebp - 0x128]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x120]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
push eax
push 0x5bb64c
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x18
push ecx
call fcn.00599938
add esp, 0xc
mov edx, dword [ebp - 0x1d8]
mov byte [edx + 0x69], 0
mov eax, dword [ebp - 0x1d8]
mov byte [eax + 0x68], 0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x18
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.005996e0
add esp, 8
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x18
push ecx
call fcn.005997d0
add esp, 4
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x52
jl 0x424232
push 0x28
mov edx, dword [ebp - 0x114]
push edx
call fcn.00423e60
add esp, 8
test eax, eax
je 0x42413b
push 0x29
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x118
push ecx
call fcn.005999b0
add esp, 0xc
mov edx, dword [ebp - 0x114]
add edx, 0x29
mov dword [ebp - 0x114], edx
jmp 0x424168
push 0x28
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x118
push ecx
call fcn.005999b0
add esp, 0xc
mov edx, dword [ebp - 0x114]
add edx, 0x28
mov dword [ebp - 0x114], edx
push 0x28
mov eax, dword [ebp - 0x114]
push eax
call fcn.00423e60
add esp, 8
test eax, eax
je 0x4241d7
push 0x29
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x143
push edx
call fcn.005999b0
add esp, 0xc
mov eax, dword [ebp - 0x114]
add eax, 0x29
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.005997d0
add esp, 4
push eax
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x1d8]
add eax, 0x16e
push eax
call fcn.005999b0
add esp, 0xc
jmp 0x424220
push 0x28
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x143
push edx
call fcn.005999b0
add esp, 0xc
mov eax, dword [ebp - 0x114]
add eax, 0x28
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x16e
push edx
call fcn.005996e0
add esp, 8
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x14], 3
jmp 0x424370
cmp dword [ebp - 0x118], 0x29
jl 0x424329
push 0x2b
push 0
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x118
push ecx
call fcn.005998e0
add esp, 0xc
push 0x2b
push 0
mov edx, dword [ebp - 0x1d8]
add edx, 0x143
push edx
call fcn.005998e0
add esp, 0xc
push 0x28
mov eax, dword [ebp - 0x114]
push eax
call fcn.00423e60
add esp, 8
test eax, eax
je 0x4242d1
push 0x29
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x118
push edx
call fcn.005999b0
add esp, 0xc
mov eax, dword [ebp - 0x114]
add eax, 0x29
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d8]
add edx, 0x143
push edx
call fcn.005996e0
add esp, 8
jmp 0x42431a
push 0x28
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x118
push ecx
call fcn.005999b0
add esp, 0xc
mov edx, dword [ebp - 0x114]
add edx, 0x28
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x143
push ecx
call fcn.005996e0
add esp, 8
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x14], 2
jmp 0x424370
push 0x2b
push 0
mov eax, dword [ebp - 0x1d8]
add eax, 0x118
push eax
call fcn.005998e0
add esp, 0xc
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x1d8]
add eax, 0x118
push eax
call fcn.005999b0
add esp, 0xc
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x14], 1
mov edx, dword [0x5d4c08]
cmp dword [edx + 0x2a85c], 0
je 0x42467b
push 6
push 0
mov eax, dword [ebp - 0x1d8]
add eax, 0x1a8
push eax
call fcn.005998e0
add esp, 0xc
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov ecx, dword [0x5be8b0]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x14]
imul eax, dword [0x5be8ac]
mov dword [ebp - 0x134], eax
push 0
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a858]
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [ebp - 0x144], 0
jmp 0x424408
mov ecx, dword [ebp - 0x144]
add ecx, 1
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x144]
cmp eax, dword [edx + 0x14]
jge 0x42467b
push 0x2c
push 0
lea ecx, [ebp - 0x178]
push ecx
call fcn.005998e0
add esp, 0xc
mov edx, dword [ebp - 0x144]
imul edx, edx, 0x2b
mov eax, dword [ebp - 0x1d8]
lea ecx, [eax + edx + 0x118]
push ecx
push 0x5bb650
lea edx, [ebp - 0x178]
push edx
call fcn.00599938
add esp, 0xc
lea eax, [ebp - 0x178]
push eax
call fcn.005997d0
add esp, 4
push eax
lea ecx, [ebp - 0x178]
push ecx
mov edx, dword [0x5be8ac]
add edx, 1
mov eax, dword [ebp - 0x144]
imul eax, edx
push eax
push 0
mov ecx, dword [0x5d4c08]
mov edx, dword [ecx + 0x2a858]
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
cmp dword [ebp + 0x10], 1
jne 0x4245ad
push 0x2c
push 0
lea eax, [ebp - 0x1a8]
push eax
call fcn.005998e0
add esp, 0xc
mov dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x178]
push ecx
call fcn.005997d0
add esp, 4
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1ac], 0
jmp 0x4244f1
mov edx, dword [ebp - 0x1ac]
add edx, 1
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x1b4]
jge 0x42453c
mov ecx, dword [ebp - 0x1ac]
movsx edx, byte [ebp + ecx - 0x178]
cmp edx, 0x30
jne 0x42452c
mov eax, dword [ebp - 0x1ac]
mov byte [ebp + eax - 0x1a8], 0x2f
mov dword [ebp - 0x1b0], 1
jmp 0x42453a
mov ecx, dword [ebp - 0x1ac]
mov byte [ebp + ecx - 0x1a8], 0x20
jmp 0x4244e2
cmp dword [ebp - 0x1b0], 0
je 0x4245ad
push 1
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a858]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.005997d0
add esp, 4
push eax
lea edx, [ebp - 0x1a8]
push edx
mov eax, dword [0x5be8ac]
add eax, 1
mov ecx, dword [ebp - 0x144]
imul ecx, eax
push ecx
push 0
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a858]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
push 2
mov ecx, dword [0x5d4c08]
mov edx, dword [ecx + 0x2a858]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x5bb654
lea eax, [ebp - 0x178]
push eax
call fcn.00599938
add esp, 8
lea ecx, [ebp - 0x178]
push ecx
call fcn.005997d0
add esp, 4
push eax
lea edx, [ebp - 0x178]
push edx
mov eax, dword [ebp - 0x144]
add eax, 1
imul eax, dword [0x5be8ac]
push eax
push 0
mov ecx, dword [0x5d4c08]
mov edx, dword [ecx + 0x2a858]
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [ebp - 0x144]
imul eax, eax, 0x2b
mov ecx, dword [ebp - 0x1d8]
lea edx, [ecx + eax + 0x118]
push edx
call fcn.005997d0
add esp, 4
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
mov edx, dword [ebp - 0x144]
imul edx, edx, 0x2b
mov eax, dword [ebp - 0x1d8]
lea ecx, [eax + edx + 0x118]
push ecx
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a858]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x1d8]
mov ax, word [ebp - 0x14c]
mov word [edx + ecx*2 + 0x1a8], ax
jmp 0x4243f9
mov ecx, dword [ebp - 0x1d8]
cmp dword [ecx + 0x19c], 0
jne 0x424856
mov edx, dword [0x5d4c08]
cmp dword [edx + 0x2a39c], 1
jne 0x4246ea
mov eax, dword [ebp - 0x1d8]
add eax, 0x19c
push eax
push 1
push 0x1a
push 0
push 1
mov eax, dword [0x5be8b0]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov ecx, dword [0x5be8b0]
push ecx
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a3e4]
mov ecx, dword [0x5d4c08]
mov edx, dword [ecx + 0x2a3e4]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x50]
jmp 0x424856
cmp dword [0x5d4be4], 0
jne 0x4247d7
push 0
push 0x8000
push str.UIminimap.wyt
call fcn.0059a3c7
add esp, 0xc
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xffffffff
jne 0x424721
xor eax, eax
jmp 0x4249d8
push 4
lea edx, [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0x1c4]
push eax
call fcn.0059a189
add esp, 0xc
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0059a0ff
add esp, 4
sub eax, 4
mov dword [0x5d4be8], eax
mov edx, dword [0x5d4be8]
add edx, 0x12
push edx
call fcn.0059998a
add esp, 4
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [0x5d4be4], eax
cmp dword [0x5d4be4], 0
jne 0x424792
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0059a01f
add esp, 4
xor eax, eax
jmp 0x4249d8
mov edx, dword [0x5d4be8]
push edx
mov eax, dword [0x5d4be4]
push eax
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0059a189
add esp, 0xc
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0059a01f
add esp, 4
push 0x5bb690
mov eax, dword [0x5d4be8]
lea ecx, [eax*4 + 0x5d4be4]
push ecx
call fcn.005996e0
add esp, 8
mov edx, dword [ebp - 0x1d8]
add edx, 0x19c
push edx
push 0
push 0
push 0xff000000
push 1
push 1
push 1
push 0x1a
push 0
push 1
mov eax, dword [0x5be8b0]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [0x5be8b0]
push eax
mov ecx, dword [0x5d4be8]
add ecx, 0x12
push ecx
mov edx, dword [0x5d4be4]
push edx
mov eax, dword [0x5d4c08]
mov ecx, dword [eax + 0x2a3e4]
push ecx
call fcn.0056b77b
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
jge 0x424856
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x19c], 0
xor eax, eax
jmp 0x4249d8
mov eax, dword [ebp - 0x1d8]
cmp dword [eax + 0x19c], 0
jne 0x42486c
xor eax, eax
jmp 0x4249d8
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 0x19c]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x40]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x110], 0
jmp 0x4248b8
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
mov ecx, dword [0x5be8ac]
add ecx, 1
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x14]
imul eax, ecx
cmp dword [ebp - 0x110], eax
jge 0x4249b3
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], 0
jmp 0x424900
mov edx, dword [ebp - 0x1c8]
add edx, 1
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
cmp eax, dword [0x5be8b0]
jge 0x42499f
mov ecx, dword [0x5be8b0]
imul ecx, dword [ebp - 0x110]
add ecx, dword [ebp - 0x1c8]
mov edx, dword [0x5d4c08]
mov eax, dword [edx + 0x2a88c]
mov ecx, dword [eax + ecx*4]
and ecx, 0xff
shr ecx, 4
mov byte [ebp - 0x1d0], cl
mov edx, dword [ebp - 0x1d0]
and edx, 0xff
test edx, edx
jle 0x424980
mov eax, dword [ebp - 0x1d0]
and eax, 0xff
shl eax, 0xc
or eax, 0xfff
mov ecx, dword [ebp - 0x1cc]
mov word [ecx], ax
mov edx, dword [ebp - 0x1cc]
add edx, 2
mov dword [ebp - 0x1cc], edx
jmp 0x42499a
mov eax, dword [ebp - 0x1cc]
mov word [eax], 0
mov ecx, dword [ebp - 0x1cc]
add ecx, 2
mov dword [ebp - 0x1cc], ecx
jmp 0x4248f1
mov edx, dword [ebp - 0x11c]
add edx, dword [ebp - 8]
mov dword [ebp - 0x11c], edx
jmp 0x4248a9
push 0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x19c]
mov edx, dword [eax]
push ecx
call dword [edx + 0x44]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc