Function at 0x41fde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49de71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push ebp
push esi
push edi
push 0x41fdc0
push 0x40c990
push 0x65
push 0x10
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x38], ecx
call fcn.00469560
push 0x4a5704
lea ecx, [esp + 0x14]
mov dword [esp + 0x684], 0
call fcn.0040b500
lea ecx, [esp + 0x10]
push ecx
mov esi, 9
lea ecx, [esp + 0x40]
mov byte [esp + 0x684], 1
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], esi
call fcn.004035b0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push str.tile
push eax
call fcn.00409a10
push 0x4a56f4
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x698], 2
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x3c]
mov edi, 3
mov byte [esp + 0x684], 3
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56f0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41fef5
sub eax, ecx
push eax
push 0x4a56f0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov ebp, 2
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], 4
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x684], 5
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ff8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ffb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a5488
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ffc0
sub eax, ecx
push eax
push 0x4a5488
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], 6
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x684], 7
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42007b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56ec
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420083
sub eax, ecx
push eax
push 0x4a56ec
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], 4
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], 8
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x684], 9
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42011c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a55d4
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420150
sub eax, ecx
push eax
push 0x4a55d4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov ebx, 0xc
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], 0xa
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x684], 0xb
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42021d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56e8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420225
sub eax, ecx
push eax
push 0x4a56e8
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], 4
mov dword [esp + 0x98], ebp
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x684], 0xd
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56e4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4202f6
sub eax, ecx
push eax
push 0x4a56e4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], edi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0xe
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x684], 0xf
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4203bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56e0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4203c5
sub eax, ecx
push eax
push 0x4a56e0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x698], 0x10
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x684], 0x11
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420466
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42048c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56dc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420494
sub eax, ecx
push eax
push 0x4a56dc
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x12
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x684], 0x13
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42055f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56d8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420567
sub eax, ecx
push eax
push 0x4a56d8
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov ebp, 8
mov esi, 1
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x14
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x684], 0x15
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420612
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420638
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56d4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420640
sub eax, ecx
push eax
push 0x4a56d4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0xe4], 5
mov dword [esp + 0xe8], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x16
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x684], 0x17
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42070b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56d0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420713
sub eax, ecx
push eax
push 0x4a56d0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], 4
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x18
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x684], 0x19
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56cc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4207e6
sub eax, ecx
push eax
push 0x4a56cc
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x100]
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], 2
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x1a
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x684], 0x1b
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42088b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56c8
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4208c0
sub eax, ecx
push eax
push 0x4a56c8
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov esi, 6
push eax
lea ecx, [esp + 0x110]
mov dword [esp + 0x114], 1
mov dword [esp + 0x118], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x1c
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x684], 0x1d
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42096a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56c4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420998
sub eax, ecx
push eax
push 0x4a56c4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x120]
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], ebp
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x1e
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x11c]
mov byte [esp + 0x684], 0x1f
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56c0
lea ecx, [eax + 1]
jmp 0x420a70
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420a70
sub eax, ecx
push eax
push 0x4a56c0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], 2
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x20
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x684], 0x21
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56bc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420b43
sub eax, ecx
push eax
push 0x4a56bc
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov edi, 0xa
push eax
lea ecx, [esp + 0x140]
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], 1
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x22
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x684], 0x23
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420bed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56b8
lea ecx, [eax + 1]
jmp 0x420c20
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420c20
sub eax, ecx
push eax
push 0x4a56b8
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x150]
mov dword [esp + 0x154], 1
mov dword [esp + 0x158], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x24
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x14c]
mov byte [esp + 0x684], 0x25
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420ceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56b4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420cf3
sub eax, ecx
push eax
push 0x4a56b4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x160]
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], 4
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x26
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x15c]
mov byte [esp + 0x684], 0x27
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56b0
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420dd0
sub eax, ecx
push eax
push 0x4a56b0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x170]
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x28
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x684], 0x29
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420e75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420e9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56ac
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420ea3
sub eax, ecx
push eax
push 0x4a56ac
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
mov esi, 4
push eax
lea ecx, [esp + 0x180]
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x2a
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x684], 0x2b
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56a8
lea ecx, [eax + 1]
jmp 0x420f80
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420f80
sub eax, ecx
push eax
push 0x4a56a8
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x190]
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], 2
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x2c
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x684], 0x2d
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421025
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42104b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56a4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x421053
sub eax, ecx
push eax
push 0x4a56a4
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a8], 2
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x2e
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x19c]
mov byte [esp + 0x684], 0x2f
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4210f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42111e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a56a0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x421126
sub eax, ecx
push eax
push 0x4a56a0
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1b4], ebp
mov dword [esp + 0x1b8], 1
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x30
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x684], 0x31
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a569c
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x421200
sub eax, ecx
push eax
push 0x4a569c
lea ecx, [esp + 0x18]
call fcn.00401f30
mov dword [esp + 0x1c0], esi
lea eax, [esp + 0x10]
mov esi, 2
push eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1c8], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x32
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x684], 0x33
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, str.ZYXWVUTSRQPONMLKJIHGFDB
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4212d4
sub eax, ecx
push eax
push str.ZYXWVUTSRQPONMLKJIHGFDB
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1d4], edi
mov dword [esp + 0x1d8], 1
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x34
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x684], 0x35
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42139f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x4a3870
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4213a7
sub eax, ecx
push eax
push 0x4a3870
lea ecx, [esp + 0x18]
call fcn.00401f30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], esi
call fcn.004035b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push str.tile
push edx
call fcn.00409a10
push 0x4a56f4
push eax
lea eax, [esp + 0x28]
mov bl, 0x36
push eax
mov byte [esp + 0x698], bl
call fcn.00409950
add esp, 0x18
push eax
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x684], 0x37
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x680], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42144c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x680], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x421480
mov ecx, dword [esp + edi + 0x34]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x18], eax
jl 0x4215cf
push 0x130
call fcn.0048a73b
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x680], 0x38
je 0x4214bd
mov ecx, eax
call fcn.0042e5c0
mov ebx, eax
jmp 0x4214bf
xor ebx, ebx
mov eax, dword [esp + edi + 0x28]
push eax
mov eax, dword [esp + 0x68c]
push eax
mov ecx, ebx
mov byte [esp + 0x688], 1
mov dword [esp + 0x28], ebx
call fcn.00406660
mov eax, dword [esp + edi + 0x2c]
mov ebp, dword [ebx + 0x10c]
lea ecx, [ebx + 0x10c]
lea esi, [eax - 0x10]
sub ebp, 0x10
cmp esi, ebp
je 0x42158f
mov edx, dword [ebp + 0xc]
test edx, edx
jge 0x421510
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.00401f30
jmp 0x42158f
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x421530
cmp eax, dword [esi]
jne 0x421530
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42156e
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x421641
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
lea edi, [eax + 0x10]
mov eax, ecx
add esi, 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
or ecx, 0xffffffff
lea eax, [ebp + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421586
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add esi, 0x10
mov dword [ebx + 0x10c], esi
mov eax, dword [esp + edi + 0x30]
push str.tileHighlight.bmp
mov ecx, ebx
mov dword [ebx + 0x110], eax
call fcn.00406690
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
add ecx, 4
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0041fbf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + edi + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x421495
add edi, 0x10
cmp edi, 0x1b0
mov dword [esp + 0x14], edi
jle 0x421480
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x680], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x41fdc0
push 0x65
push 0x10
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x690], 0xffffffff
call fcn.00469620
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x674
ret 4
call fcn.00401db0
int3