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

Disassembly:
push 0xffffffffffffffff
push 0x71bad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x7a39fc]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 8]
call fcn.004aedb0
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.005b3190
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
xor ebx, ebx
mov dword [esp + 0xac], ebx
call fcn.004aed70
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x98], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 2
call fcn.005b3190
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 3
call fcn.005b3190
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
cmp esi, ebx
mov byte [esp + 0xac], 6
jne 0x50abdb
push ebx
mov byte [esp + 0xb0], 5
call fcn.006fa390
push ebx
mov byte [esp + 0xb4], 4
call fcn.006fa390
add esp, 8
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 3
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 2
call fcn.005e5c20
push ebx
mov byte [esp + 0xb0], 1
call fcn.006fa390
push ebx
mov byte [esp + 0xb4], bl
call fcn.006fa390
add esp, 8
lea ecx, [esp + 0x90]
mov dword [esp + 0xac], 0xffffffff
call fcn.005e5c20
xor eax, eax
jmp 0x50b9e0
mov edx, dword [edi + 0x120]
push edx
mov ecx, esi
call fcn.00578570
push 0x10
lea eax, [edi + 0x10c]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.004d6380
push 0
lea ecx, [edi + 0x150]
push ecx
mov ecx, esi
call fcn.005785c0
mov edx, dword [esp + 0xb4]
push 0x20
push edx
mov ecx, esi
call fcn.004d6340
mov eax, dword [esp + 0xb8]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov ecx, dword [esp + 0xbc]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [edi + 4]
push 0x20
push edx
mov ecx, esi
call fcn.004d6340
mov eax, dword [edi + 0xb8]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
push 0x10
lea ecx, [edi + 0xbc]
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004d6380
xor edx, edx
mov dl, byte [edi + 0x234]
push 8
mov ecx, esi
push edx
call fcn.004d62c0
mov eax, dword [edi + 0x68]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov ecx, dword [edi + 0x6c]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
xor edx, edx
mov dl, byte [edi + 0x7c]
push 8
push edx
mov ecx, esi
call fcn.004d62c0
mov eax, dword [edi + 0x70]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov ecx, dword [edi + 0x74]
push 0x20
push 0x3f800000
push ecx
mov ecx, esi
call fcn.004d6920
mov edx, dword [edi + 0x78]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [edi + 0x80]
push eax
mov ecx, esi
call fcn.004d68e0
mov ecx, dword [edi + 0x84]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [edi + 0x88]
push 0x20
push edx
mov ecx, esi
call fcn.004d6340
xor eax, eax
mov al, byte [edi + 0x98]
push 8
mov ecx, esi
push eax
call fcn.004d62c0
mov ecx, dword [edi + 0x8c]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [edi + 0x90]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [edi + 0x94]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ecx, dword [edi + 0x9c]
push ecx
mov ecx, esi
call fcn.004d68e0
xor edx, edx
mov dl, byte [edi + 0xa0]
push 8
mov ecx, esi
push edx
call fcn.004d62c0
xor eax, eax
mov al, byte [edi + 0xa4]
push 8
mov ecx, esi
push eax
call fcn.004d62c0
mov ecx, dword [edi + 0xac]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
xor edx, edx
mov dl, byte [edi + 0xb0]
push 8
push edx
mov ecx, esi
call fcn.004d62c0
xor eax, eax
mov al, byte [edi + 0xb4]
push 8
mov ecx, esi
push eax
call fcn.004d62c0
mov ecx, dword [edi + 0x208]
push esi
call fcn.005c9780
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.004ae6b0
mov ecx, eax
call fcn.004c4100
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
call fcn.004ae6b0
mov dl, byte [eax + 0x1a1]
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
mov byte [esp + 0x14], dl
call fcn.004ae6b0
mov cl, byte [eax + 0x1a2]
mov edx, dword [esp + 0x84]
push 8
mov byte [esp + 0x14], cl
push edx
mov ecx, esi
call fcn.004d62c0
mov eax, dword [esp + 0x88]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov ecx, dword [esp + 0x78]
push 8
push ecx
mov ecx, esi
call fcn.004d62c0
mov edx, dword [esp + 0x80]
push 8
push edx
mov ecx, esi
call fcn.004d62c0
mov eax, dword [esp + 0x7c]
push 8
push eax
mov ecx, esi
call fcn.004d62c0
mov ecx, dword [esp + 0x8c]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [esp + 0x14]
push 8
push edx
mov ecx, esi
call fcn.004d62c0
mov eax, dword [esp + 0x10]
push 8
push eax
mov ecx, esi
call fcn.004d62c0
push 0x10
lea ecx, [edi + 0xec]
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004d6380
mov edx, dword [edi + 0xd4]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [edi + 0xd8]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ecx, dword [edi + 0xd0]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [edi + 0xcc]
push 0x20
push edx
mov ecx, esi
call fcn.004d6340
lea ebp, [edi + 0xdc]
mov ebx, 4
mov eax, dword [ebp]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
add ebp, 4
dec ebx
jne 0x50af64
xor ecx, ecx
mov cl, byte [edi + 0xaa]
push 8
push ecx
mov ecx, esi
call fcn.004d62c0
xor edx, edx
mov dl, byte [edi + 0xab]
push 8
mov ecx, esi
push edx
call fcn.004d62c0
mov al, byte [edi + 0x220]
cmp al, 0xff
mov ecx, esi
push 8
jne 0x50afc5
xor eax, eax
mov al, byte [edi + 0x20c]
push eax
call fcn.004d62c0
mov ecx, dword [edi + 0x210]
push ecx
jmp 0x50afcd
push eax
call fcn.004d62c0
push 1
mov ecx, esi
call fcn.004d68e0
mov edx, dword [edi + 0xfc]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [edi + 0x268]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov eax, dword [edi + 0x268]
xor ebp, ebp
test eax, eax
jle 0x50b04e
mov ecx, dword [edi + 0x25c]
lea edx, [ecx + ebp*8]
push 0x20
push edx
mov ecx, esi
call fcn.004d6960
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + ebp*4]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [edi + 0x264]
mov eax, dword [edx + ebp*4]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov eax, dword [edi + 0x268]
inc ebp
cmp ebp, eax
jl 0x50b005
mov ecx, dword [edi + 0x26c]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov eax, dword [edi + 0x26c]
xor ebx, ebx
test eax, eax
jle 0x50b114
mov dword [esp + 0x14], ebx
jmp 0x50b080
mov edx, dword [edi + 0x270]
lea ebp, [ebx*8]
push 0x20
add edx, ebp
push edx
mov ecx, esi
call fcn.004d6960
mov eax, dword [edi + 0x27c]
mov ecx, dword [eax + ebx*4]
push ecx
mov ecx, esi
call fcn.004d68e0
mov edx, dword [edi + 0x288]
push 0x20
add edx, ebp
push edx
mov ecx, esi
call fcn.004d6960
mov eax, dword [edi + 0x294]
push 0x20
add eax, ebp
push eax
mov ecx, esi
call fcn.004d6960
mov ecx, dword [edi + 0x2a0]
mov ebp, dword [esp + 0x14]
add ecx, ebp
mov eax, dword [ecx]
push 0x10
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004d6380
mov eax, dword [edi + 0x26c]
inc ebx
add ebp, 0x10
cmp ebx, eax
mov dword [esp + 0x14], ebp
jl 0x50b080
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
call fcn.004ae6b0
mov eax, dword [eax + 0x218]
mov eax, dword [eax + 0x10]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov eax, dword [edi + 8]
push 0x20
push eax
mov ecx, esi
call fcn.004d6340
mov ecx, dword [edi + 0xc]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov eax, dword [edi + 0x194]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jle 0x50b2e7
mov ebp, dword [esp + 0x48]
jmp 0x50b170
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004d8230
cmp al, byte [0x74666c]
jne 0x50b2d4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x58]
test eax, eax
je 0x50b23a
mov ecx, dword [eax + 0x228]
test ecx, ecx
je 0x50b2d4
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x4c]
cmp ebp, eax
mov dword [esp + 0x18], ecx
jne 0x50b21c
test eax, eax
je 0x50b1d0
add eax, eax
jmp 0x50b1d5
mov eax, 0x10
mov ebx, dword [esp + 0x44]
lea edx, [eax*4]
push edx
mov dword [esp + 0x50], eax
call fcn.006fa7e6
add esp, 4
test ebp, ebp
mov dword [esp + 0x44], eax
jle 0x50b20f
mov ecx, ebx
sub ecx, eax
mov edx, ebp
jmp 0x50b200
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x50b200
mov ebp, dword [esp + 0x48]
test ebx, ebx
je 0x50b21c
push ebx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [esp + 0x14]
inc ebp
inc eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], eax
jmp 0x50b2d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x68]
test eax, eax
je 0x50b2d4
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp edx, eax
mov dword [esp + 0x18], ecx
jne 0x50b2bc
test eax, eax
je 0x50b26c
add eax, eax
jmp 0x50b271
mov eax, 0x10
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
shl eax, 2
push eax
call fcn.006fa7e6
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
jle 0x50b2af
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, ebx
sub ecx, eax
lea ecx, [ecx]
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x50b2a0
mov ebp, dword [esp + 0x48]
test ebx, ebx
je 0x50b2bc
push ebx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x194]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x50b170
mov ebx, dword [esp + 0x14]
push 0x20
push ebx
mov ecx, esi
call fcn.004d6340
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x10], ebp
jle 0x50b3b1
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push edx
call fcn.004d8230
cmp al, byte [0x74666c]
jne 0x50b3a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ebx, eax
test ebx, ebx
je 0x50b3a0
mov eax, dword [ebx + 4]
push eax
mov ecx, esi
call fcn.00578570
lea ecx, [ebx + 0x90]
mov eax, dword [ecx]
mov ebp, dword [ecx + 4]
mov edx, dword [ecx + 8]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
mov dword [esp + 0x78], edx
call fcn.004d6920
push 0x20
push 0x3f800000
push ebp
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x6c]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov eax, dword [ebx + 0x22c]
push eax
mov ecx, esi
call fcn.004d68e0
push 0
add ebx, 0x230
push ebx
mov ecx, esi
call fcn.005785c0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
mov dword [esp + 0x10], ebp
jl 0x50b303
mov ecx, dword [esp + 0xc0]
call fcn.00561080
test eax, eax
mov dword [esp + 0x1c], eax
je 0x50b54e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
je 0x50b54e
lea ebx, [eax + 0x100]
test ebx, ebx
je 0x50b552
push str.NW_TOTAL_MAP_PINS
lea ecx, [esp + 0x54]
call fcn.005e5a90
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov byte [esp + 0xb0], 7
call fcn.0059a530
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x50b53b
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push str.NW_MAP_PIN_NTRY__i
push edx
call fcn.005e5680
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.0059a590
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 8
call fcn.005e5c50
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 7
call fcn.005e5c20
push 0x73d71c
lea ecx, [esp + 0x60]
call fcn.005e5390
test eax, eax
je 0x50b526
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push str.NW_MAP_PIN_AREA__i
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.0059a620
cmp eax, dword [edi + 0x120]
jne 0x50b526
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edx
jne 0x50b515
mov eax, edx
test eax, eax
je 0x50b4c0
add eax, eax
jmp 0x50b4c5
mov eax, 0x10
mov dword [esp + 0x2c], eax
shl eax, 2
push eax
mov dword [esp + 0x18], ebp
call fcn.006fa7e6
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [esp + 0x24], ebp
jle 0x50b502
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, ebp
sub ecx, ebp
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x50b4f3
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50b515
mov ecx, eax
push ecx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov dword [ebp + eax*4], edx
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jbe 0x50b420
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 6
call fcn.005e5c20
jmp 0x50b552
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
push 0x20
push ebp
mov ecx, esi
call fcn.004d6340
test ebp, ebp
jle 0x50b6a7
mov eax, dword [esp + 0x28]
xor ebp, ebp
test eax, eax
jle 0x50b6a7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + ebp*4]
push 0x20
push ecx
mov ecx, esi
call fcn.004d6340
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ebp*4]
push eax
lea ecx, [esp + 0x34]
push str.NW_MAP_PIN_NTRY__i
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, ebx
call fcn.0059a590
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 9
call fcn.005e5c50
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 6
call fcn.005e5c20
push 0x20
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.004d6960
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ebp*4]
push eax
lea ecx, [esp + 0x34]
push str.NW_MAP_PIN_XPOS__i
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.0059a560
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + ebp*4]
push edx
lea eax, [esp + 0x34]
push str.NW_MAP_PIN_YPOS__i
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.0059a560
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + ebp*4]
push ecx
lea edx, [esp + 0x34]
push str.NW_MAP_PIN_ZPOS__i
push edx
call fcn.005e5680
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0059a560
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
push 0x20
push 0x3f800000
push ecx
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x50b576
mov ebx, dword [esp + 0x3c]
push 0x10
push ebx
mov ecx, esi
call fcn.004d6300
test bx, bx
jbe 0x50b6f6
mov ebp, dword [esp + 0x38]
movzx ebx, bx
mov eax, dword [ebp]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004d8230
cmp al, byte [0x74666c]
jne 0x50b6f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x68]
test eax, eax
je 0x50b6f0
push esi
mov ecx, eax
call fcn.005c89c0
add ebp, 4
dec ebx
jne 0x50b6c1
mov eax, dword [edi + 0x194]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
jle 0x50b754
lea ebx, [ebx]
mov eax, dword [0x7a39fc]
mov edx, dword [edi + 0x190]
mov ecx, dword [eax + 8]
mov eax, dword [edx + ebx*4]
push eax
call fcn.004ae7a0
mov ebp, eax
test ebp, ebp
je 0x50b749
mov ecx, ebp
call fcn.00585130
test eax, eax
je 0x50b73c
inc dword [esp + 0x20]
cmp dword [ebp + 0x398], 1
jne 0x50b749
inc dword [esp + 0x14]
mov eax, dword [edi + 0x194]
inc ebx
cmp ebx, eax
jl 0x50b710
mov ecx, dword [esp + 0x20]
push 0x10
push ecx
mov ecx, esi
call fcn.004d6300
mov eax, dword [edi + 0x194]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x50b82e
jmp 0x50b780
mov edx, dword [0x7a39fc]
mov eax, dword [edi + 0x190]
mov ecx, dword [edx + 8]
mov edx, dword [eax + ebx*4]
push edx
call fcn.004ae7a0
mov ebp, eax
test ebp, ebp
je 0x50b81b
mov ecx, ebp
call fcn.00585130
test eax, eax
je 0x50b81b
lea eax, [ebp + 0x90]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x68], ecx
push eax
mov ecx, esi
mov dword [esp + 0x70], edx
call fcn.00578570
mov al, byte [ebp + 0x230]
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x18]
push 8
push ecx
mov ecx, esi
call fcn.004d62c0
push 0x20
push 0x3f800000
push ebx
mov ecx, esi
call fcn.004d6920
mov edx, dword [esp + 0x68]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x6c]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x194]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x50b780
mov ecx, dword [esp + 0x14]
push 0x10
push ecx
mov ecx, esi
call fcn.004d6300
mov eax, dword [edi + 0x194]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x50b957
mov edx, dword [0x7a39fc]
mov eax, dword [edi + 0x190]
mov ecx, dword [edx + 8]
mov edx, dword [eax + ebx*4]
push edx
call fcn.004ae7a0
mov ebp, eax
test ebp, ebp
je 0x50b944
cmp dword [ebp + 0x398], 1
jne 0x50b944
lea eax, [ebp + 0x90]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x68], ecx
lea eax, [ebp + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], ecx
push eax
mov ecx, esi
mov dword [esp + 0x58], edx
call fcn.00578570
mov cl, byte [ebp + 0x230]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
push 8
push edx
mov ecx, esi
call fcn.004d62c0
push 0x20
push 0x3f800000
push ebx
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x68]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ecx, dword [esp + 0x6c]
push 0x20
push 0x3f800000
push ecx
mov ecx, esi
call fcn.004d6920
mov edx, dword [esp + 0x50]
push 0x20
push 0x3f800000
push edx
mov ecx, esi
call fcn.004d6920
mov eax, dword [esp + 0x54]
push 0x20
push 0x3f800000
push eax
mov ecx, esi
call fcn.004d6920
mov ecx, dword [esp + 0x58]
push 0x20
push 0x3f800000
push ecx
mov ecx, esi
call fcn.004d6920
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x194]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x50b850
mov edx, dword [esp + 0x38]
push edx
mov byte [esp + 0xb0], 5
call fcn.006fa390
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xb4], 4
call fcn.006fa390
add esp, 8
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 3
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 2
call fcn.005e5c20
push 0
mov byte [esp + 0xb0], 1
call fcn.006fa390
mov ecx, dword [esp + 0x48]
push ecx
mov byte [esp + 0xb4], 0
call fcn.006fa390
add esp, 8
lea ecx, [esp + 0x90]
mov dword [esp + 0xac], 0xffffffff
call fcn.005e5c20
mov eax, 1
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 0x10