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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff70
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x5538]
cmp eax, dword [ebx + 0x5534]
je 0x5386a0
mov eax, dword [ebx + 0x5538]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x18]
sub eax, dword [ebx + 0x5538]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x5538]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x61e0], eax
mov eax, dword [ebx + 0x5538]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x5538], eax
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
jmp 0x539820
xor eax, eax
mov dword [ebx + 0x5538], eax
xor eax, eax
mov dword [ebx + 0x5534], eax
cmp byte [ebx + 0x553c], 0
jne 0x5386c6
mov eax, ebx
call fcn.00538338
mov dword [esp + 0xc], eax
jmp 0x5386d7
mov eax, dword [ebx + 0x5528]
mov dword [esp + 0xc], eax
mov byte [ebx + 0x553c], 0
mov eax, dword [ebx + 0x552c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x4828]
call fcn.00537158
inc eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 2
jge 0x53870f
mov dword [ebx + 0x61e0], 0xffffffff
mov dword [esp + 4], 1
jmp 0x539820
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [ebx + eax*4 + 0x818]
mov edx, dword [esp + 0x1c]
mov dword [ebx + edx*4 + 0x61c0], eax
push 0x111
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + eax*4 + 0x61c0]
or edx, 0xffffffff
mov eax, dword [ebx + 0x4828]
call fcn.005370fc
mov edx, dword [esp + 0x1c]
mov dword [ebx + edx*4 + 0x61d0], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [ebx + eax*4 + 0x61d0]
mov edx, dword [esp + 0x18]
cmp eax, dword [ebx + edx*4 + 0x61d0]
jle 0x53877a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jne 0x53871b
mov eax, dword [esp + 0x18]
mov eax, dword [ebx + eax*4 + 0x61d0]
cmp eax, dword [ebx + 0x5524]
jl 0x5387ca
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x61e0], eax
mov eax, dword [esp + 0x18]
mov eax, dword [ebx + eax*4 + 0x61d0]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
dec edx
mov eax, ebx
call fcn.0053839c
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
jmp 0x539820
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx + 0x5524]
jl 0x538803
mov eax, dword [esp + 0x10]
mov eax, dword [ebx + eax*4 + 0x4c90]
add eax, 4
mov dword [ebx + 0x61e0], eax
mov edx, dword [esp + 0xc]
dec edx
mov eax, ebx
call fcn.0053839c
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
jmp 0x539820
or edx, 0xffffffff
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov byte [esp + 0x8c], al
xor edx, edx
sub edx, dword [ebx + 0x818]
dec edx
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov byte [esp + 0x8d], al
cmp dword [esp + 0xc], 2
jge 0x538870
mov al, byte [esp + 0x8c]
cmp al, byte [esp + 0x8d]
je 0x538870
mov eax, dword [esp + 0x18]
cmp dword [ebx + eax*4 + 0x61d0], 2
jge 0x538870
mov dword [ebx + 0x61e0], 0xffffffff
mov dword [esp + 4], 1
jmp 0x539820
mov eax, dword [ebx + 0x828]
mov edx, dword [ebx + 0x810]
mov dword [eax + 4], edx
mov al, byte [esp]
and al, byte [ebx + 0x618c]
mov byte [esp + 0x8e], al
mov al, byte [esp + 0x8c]
push eax
mov cl, byte [ebx + 0x814]
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x4c90]
call fcn.0053a728
push eax
mov eax, dword [ebx + 0x810]
call fcn.005353c4
mov edx, eax
xor dl, 1
mov cl, byte [esp + 0x95]
pop eax
call fcn.0053a574
mov esi, eax
mov eax, dword [ebx + 0x810]
shl eax, 4
xor edx, edx
mov dl, byte [esp + 0x8e]
add eax, edx
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add esi, eax
mov eax, dword [ebx + 0x82c]
mov dword [eax + 0x14], esi
mov eax, dword [ebx + 0x82c]
call fcn.0053aa94
mov eax, dword [ebx + 0x810]
shl eax, 4
xor edx, edx
mov dl, byte [esp + 0x8e]
add eax, edx
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x810]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x8d]
cmp al, byte [esp + 0x8c]
jne 0x5389ad
xor ecx, ecx
mov cl, byte [esp + 0x8e]
mov edx, dword [ebx + 0x810]
mov eax, ebx
call fcn.005383bc
add eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x82c]
mov eax, dword [eax + 0x14]
cmp eax, dword [esp + 0x28]
jle 0x5389ad
mov eax, dword [ebx + 0x82c]
mov edx, dword [esp + 0x28]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x82c]
call fcn.0053aaa0
mov eax, dword [esp + 0x18]
mov eax, dword [ebx + eax*4 + 0x61d0]
cmp eax, dword [esp + 0xc]
jg 0x5389c4
mov esi, dword [esp + 0xc]
jmp 0x5389cf
mov eax, dword [esp + 0x18]
mov esi, dword [ebx + eax*4 + 0x61d0]
cmp esi, 2
jge 0x5389f0
mov eax, dword [ebx + 0x82c]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x61e0], eax
mov dword [esp + 4], 1
jmp 0x539820
mov eax, dword [ebx + 0x82c]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebx + 0x828]
mov edx, dword [ebx + 0x61c0]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x828]
mov edx, dword [ebx + 0x61c4]
mov dword [eax + 0x24], edx
mov eax, dword [ebx + 0x828]
mov edx, dword [ebx + 0x61c8]
mov dword [eax + 0x28], edx
mov eax, dword [ebx + 0x828]
mov edx, dword [ebx + 0x61cc]
mov dword [eax + 0x2c], edx
mov edi, esi
mov eax, dword [ebx + edi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
dec edi
cmp edi, 2
jge 0x538a39
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx + eax*4 + 0x61d0]
cmp edi, 2
jl 0x538acc
xor eax, eax
mov al, byte [esp + 0x8e]
push eax
mov ecx, dword [ebx + 0x810]
mov edx, dword [esp + 0x20]
mov eax, ebx
call fcn.00538400
add eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov cl, byte [esp + 0x8e]
mov edx, edi
sub edx, 2
mov eax, dword [ebx + 0x4c8c]
call fcn.0053a9f0
mov ebp, eax
add ebp, dword [esp + 0x2c]
mov eax, dword [ebx + edi*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x538ac6
mov dword [eax + 0x14], ebp
xor edx, edx
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 0
dec edi
cmp edi, 2
jge 0x538a88
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jne 0x538a55
mov eax, dword [ebx + 0x810]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x61d0], 2
jl 0x538b0f
mov edi, dword [ebx + 0x61d0]
inc edi
jmp 0x538b14
mov edi, 2
cmp edi, dword [esp + 0xc]
jg 0x538ba5
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x538b2b
add dword [esp + 0x34], 2
mov eax, dword [esp + 0x34]
cmp edi, dword [ebx + eax*4 + 0x4c94]
jg 0x538b26
mov eax, dword [esp + 0x34]
mov eax, dword [ebx + eax*4 + 0x4c98]
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [esp + 0x8e]
push eax
mov ecx, edi
mov edx, dword [esp + 0x3c]
mov eax, ebx
call fcn.005384f4
mov ebp, eax
add ebp, dword [esp + 0x30]
mov eax, dword [ebx + edi*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x538b86
mov dword [eax + 0x14], ebp
xor edx, edx
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x38]
add edx, 4
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 0
mov eax, dword [esp + 0x34]
cmp edi, dword [ebx + eax*4 + 0x4c94]
jne 0x538ba2
add dword [esp + 0x34], 2
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x10]
je 0x538ba5
inc edi
jmp 0x538b38
xor eax, eax
mov dword [esp + 0x3c], eax
inc dword [esp + 0x3c]
cmp esi, dword [esp + 0x3c]
jne 0x538bc9
mov edx, dword [esp + 0x3c]
mov eax, ebx
call fcn.00538564
mov dword [esp + 4], eax
jmp 0x539820
mov eax, ebx
call fcn.00538338
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x552c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x5524]
jl 0x538c0f
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x5528], eax
mov byte [ebx + 0x553c], 1
mov edx, dword [esp + 0x3c]
mov eax, ebx
call fcn.00538564
mov dword [esp + 4], eax
jmp 0x539820
inc dword [esp]
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp byte [eax + 8], 0
je 0x538cba
dec dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp byte [eax + 9], 0
je 0x538c99
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0xc]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp dword [eax + 0x10], 4
jge 0x538c8a
mov eax, dword [esp + 0x48]
call fcn.0053539c
mov dword [esp + 0x48], eax
jmp 0x538cab
mov eax, dword [esp + 0x48]
call fcn.00535388
mov dword [esp + 0x48], eax
jmp 0x538cab
mov eax, dword [esp + 0x44]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
call fcn.00535370
mov dword [esp + 0x48], eax
jmp 0x538ccc
mov eax, dword [esp + 0x44]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
dec eax
cmp eax, dword [esp + 0x44]
jne 0x538d0f
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
call fcn.0053aaac
test al, al
je 0x538cfd
mov eax, dword [esp + 0x48]
call fcn.005353b0
mov dword [esp + 0x48], eax
jmp 0x538f16
mov eax, dword [esp + 0x48]
call fcn.00535370
mov dword [esp + 0x48], eax
jmp 0x538f16
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp byte [eax + 8], 0
je 0x538d64
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp byte [eax + 9], 0
je 0x538d64
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
call fcn.0053539c
mov dword [esp + 0x48], eax
jmp 0x538d99
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x4c], 4
jge 0x538d8c
mov eax, dword [esp + 0x48]
call fcn.0053539c
mov dword [esp + 0x48], eax
jmp 0x538d99
mov eax, dword [esp + 0x48]
call fcn.00535388
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov eax, dword [ebx + eax*4 + 0x828]
mov dword [esp + 0x88], eax
cmp dword [esp + 0x4c], 4
jge 0x538ed9
cmp dword [esp + 0x4c], 0
jne 0x538e02
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x61c0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x61c4], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x61c8], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x61cc], eax
jmp 0x538f16
cmp dword [esp + 0x4c], 1
jne 0x538e4e
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x61c0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x61c4], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x61c8], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x61cc], eax
jmp 0x538f16
cmp dword [esp + 0x4c], 2
jne 0x538e97
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x61c0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x61c4], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x61c8], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x61cc], eax
jmp 0x538f16
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x61c0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x61c4], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x61c8], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x61cc], eax
jmp 0x538f16
mov eax, dword [esp + 0x4c]
sub eax, 4
mov dword [ebx + 0x61c0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x61c4], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x61c8], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x61cc], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [ebx + eax*4 + 0x828]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x61c0]
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x61c4]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x61c8]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x61cc]
mov dword [eax + 0x2c], edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], eax
or edx, 0xffffffff
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov byte [esp + 0x8c], al
xor edx, edx
sub edx, dword [ebx + 0x61c0]
dec edx
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov byte [esp + 0x8d], al
mov al, byte [esp]
and al, byte [ebx + 0x618c]
mov byte [esp + 0x8e], al
mov al, byte [esp + 0x8c]
push eax
mov edx, 0xfffffffe
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov ecx, eax
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x4c90]
call fcn.0053a728
push eax
mov eax, dword [esp + 0x50]
call fcn.005353c4
mov edx, eax
xor dl, 1
mov cl, byte [esp + 0x95]
pop eax
call fcn.0053a574
mov edi, eax
mov eax, dword [esp + 0x48]
shl eax, 4
xor edx, edx
mov dl, byte [esp + 0x8e]
add eax, edx
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add eax, dword [esp + 0x50]
add edi, eax
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x3c]
mov edi, dword [ebx + eax*4 + 0x82c]
mov byte [esp + 0x8f], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [esp + 0x54]
jle 0x539044
mov eax, dword [esp + 0x54]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x18], eax
mov eax, edi
call fcn.0053aa94
mov byte [esp + 0x8f], 1
mov eax, dword [esp + 0x48]
shl eax, 4
xor edx, edx
mov dl, byte [esp + 0x8e]
add eax, edx
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x8d]
cmp al, byte [esp + 0x8c]
jne 0x5390f3
mov eax, dword [edi + 0x18]
cmp eax, dword [esp + 0x3c]
jge 0x5390b1
cmp dword [edi + 0x1c], 0
je 0x5390f3
xor ecx, ecx
mov cl, byte [esp + 0x8e]
mov edx, dword [esp + 0x48]
mov eax, ebx
call fcn.005383bc
add eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x14]
cmp eax, dword [esp + 0x28]
jl 0x5390f3
mov eax, dword [esp + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x18], eax
mov eax, edi
call fcn.0053aaa0
mov byte [esp + 0x8f], 1
mov eax, dword [ebx + 0x4828]
call fcn.00537158
inc eax
mov dword [esp + 0x58], eax
mov eax, 0xfff
sub eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
call fcn.00432a28
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 2
jl 0x538bab
mov eax, dword [ebx + 0x5524]
cmp eax, dword [esp + 0x14]
jge 0x539142
mov eax, dword [ebx + 0x5524]
mov dword [esp + 0x14], eax
cmp byte [esp + 0x8f], 0
jne 0x539264
mov al, byte [esp + 0x8d]
cmp al, byte [esp + 0x8c]
je 0x539264
mov eax, dword [esp + 0x58]
dec eax
mov edx, dword [ebx + 0x5524]
call fcn.00432a28
push eax
mov ecx, dword [ebx + 0x61c0]
xor edx, edx
mov eax, dword [ebx + 0x4828]
call fcn.005370fc
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 2
jl 0x539264
mov eax, dword [esp + 0x48]
call fcn.00535370
mov dword [esp + 0x60], eax
mov eax, dword [esp]
inc eax
and eax, dword [ebx + 0x618c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
shl eax, 4
add eax, dword [esp + 0x64]
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
mov edi, eax
add edi, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add edi, eax
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x3c]
inc eax
add eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
cmp esi, dword [esp + 0x6c]
jge 0x53921f
inc esi
mov eax, dword [ebx + esi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
cmp esi, dword [esp + 0x6c]
jl 0x539208
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push eax
mov ecx, dword [esp + 0x64]
xor edx, edx
mov eax, ebx
call fcn.005384b8
mov ebp, eax
add ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x539264
mov dword [eax + 0x14], ebp
mov edx, dword [esp + 0x3c]
inc edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 1
mov byte [eax + 9], 0
mov dword [esp + 0x70], 2
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx + eax*4 + 0x61c0]
or edx, 0xffffffff
mov eax, dword [ebx + 0x4828]
call fcn.005370fc
mov edi, eax
cmp edi, 2
jl 0x539509
mov dword [esp + 0x78], edi
jmp 0x5392b2
inc esi
mov eax, dword [ebx + esi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
add eax, edi
cmp esi, eax
jl 0x5392a1
mov eax, dword [esp + 0x48]
push eax
xor eax, eax
mov al, byte [esp + 0x92]
push eax
mov ecx, edi
mov edx, dword [esp + 0x7c]
mov eax, ebx
call fcn.005384b8
mov ebp, eax
add ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add eax, edi
mov eax, dword [ebx + eax*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x539305
mov dword [eax + 0x14], ebp
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 0
dec edi
cmp edi, 2
jge 0x5392b2
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x74], 0
jne 0x53931d
lea eax, [edi + 1]
mov dword [esp + 0x70], eax
cmp edi, dword [esp + 0x58]
jge 0x539509
mov eax, dword [esp + 0x58]
dec eax
sub eax, edi
mov edx, dword [ebx + 0x5524]
call fcn.00432a28
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx + eax*4 + 0x61c0]
mov edx, edi
mov eax, dword [ebx + 0x4828]
call fcn.005370fc
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 2
jl 0x539509
mov eax, dword [esp + 0x48]
call fcn.0053539c
mov dword [esp + 0x60], eax
mov eax, dword [esp]
add eax, edi
and eax, dword [ebx + 0x618c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
push eax
xor eax, eax
mov al, byte [esp + 0x92]
push eax
mov ecx, edi
mov edx, dword [esp + 0x7c]
mov eax, ebx
call fcn.005384b8
mov ebp, eax
add ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
shl eax, 4
add eax, dword [esp + 0x64]
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add ebp, eax
mov edx, edi
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
push eax
mov edx, edi
dec edx
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov ecx, eax
mov edx, dword [esp + 4]
add edx, edi
mov eax, dword [ebx + 0x4c90]
call fcn.0053a728
push eax
mov edx, edi
dec edx
mov eax, dword [esp + 0x7c]
mov eax, dword [ebx + eax*4 + 0x61c0]
inc eax
sub edx, eax
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov ecx, eax
mov dl, 1
pop eax
call fcn.0053a574
add ebp, eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x60]
call fcn.00535370
mov dword [esp + 0x60], eax
mov eax, dword [esp]
add eax, edi
inc eax
and eax, dword [ebx + 0x618c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
shl eax, 4
add eax, dword [esp + 0x64]
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
lea eax, [edi + 1]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
jmp 0x5394a6
inc esi
mov eax, dword [ebx + esi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x6c]
cmp esi, eax
jl 0x539495
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push eax
mov ecx, dword [esp + 0x64]
xor edx, edx
mov eax, ebx
call fcn.005384b8
mov ebp, eax
add ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x6c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x539509
mov dword [eax + 0x14], ebp
add edi, dword [esp + 0x3c]
inc edi
mov dword [eax + 0x18], edi
xor edx, edx
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 1
mov byte [eax + 9], 1
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x10], edx
inc dword [esp + 0x74]
cmp dword [esp + 0x74], 4
jne 0x539272
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x14]
jle 0x53955c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x539537
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x10]
mov eax, dword [ebx + eax*4 + 0x4c94]
cmp eax, dword [esp + 0x40]
jl 0x539532
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov dword [ebx + eax*4 + 0x4c94], edx
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x70]
jl 0x538bab
mov eax, dword [esp + 0x48]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
jmp 0x53959d
inc esi
mov eax, dword [ebx + esi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x40]
cmp esi, eax
jl 0x53958c
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x5395b6
add dword [esp + 0x34], 2
mov eax, dword [esp + 0x34]
mov eax, dword [ebx + eax*4 + 0x4c94]
cmp eax, dword [esp + 0x70]
jl 0x5395b1
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
mov eax, dword [ebx + eax*4 + 0x4c98]
mov dword [esp + 0x84], eax
xor eax, eax
mov al, byte [esp + 0x8e]
push eax
mov ecx, edi
mov edx, dword [esp + 0x88]
mov eax, ebx
call fcn.005384f4
mov ebp, eax
add ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
add eax, edi
mov eax, dword [ebx + eax*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x53962a
mov dword [eax + 0x14], ebp
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x84]
add edx, 4
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 0
mov eax, dword [esp + 0x34]
cmp edi, dword [ebx + eax*4 + 0x4c94]
jne 0x53981a
cmp edi, dword [esp + 0x58]
jge 0x539807
mov eax, dword [esp + 0x58]
dec eax
sub eax, edi
mov edx, dword [ebx + 0x5524]
call fcn.00432a28
push eax
mov ecx, dword [esp + 0x88]
mov edx, edi
mov eax, dword [ebx + 0x4828]
call fcn.005370fc
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 2
jl 0x539807
mov eax, dword [esp + 0x48]
call fcn.00535388
mov dword [esp + 0x60], eax
mov eax, dword [esp]
add eax, edi
and eax, dword [ebx + 0x618c]
mov dword [esp + 0x64], eax
mov edx, edi
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
push eax
mov edx, edi
dec edx
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov ecx, eax
mov edx, dword [esp + 4]
add edx, edi
mov eax, dword [ebx + 0x4c90]
call fcn.0053a728
push eax
mov eax, dword [esp + 0x8c]
inc eax
mov edx, edi
sub edx, eax
dec edx
mov eax, dword [ebx + 0x4828]
call fcn.005370ec
mov ecx, eax
mov dl, 1
pop eax
call fcn.0053a574
push eax
mov eax, dword [esp + 0x64]
shl eax, 4
add eax, dword [esp + 0x68]
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536afc
add ebp, eax
pop eax
add eax, ebp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
call fcn.00535370
mov dword [esp + 0x60], eax
mov eax, dword [esp]
add eax, edi
inc eax
and eax, dword [ebx + 0x618c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
shl eax, 4
add eax, dword [esp + 0x64]
movsx edx, word [ebx + eax*2 + 0x4830]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
movsx edx, word [ebx + eax*2 + 0x49b0]
mov eax, dword [0x608554]
mov eax, dword [eax]
call fcn.00536b04
add eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
lea eax, [edi + 1]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
jmp 0x53979c
inc esi
mov eax, dword [ebx + esi*4 + 0x828]
mov edx, dword [0x607b60]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x6c]
cmp esi, eax
jl 0x53978b
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push eax
mov ecx, dword [esp + 0x64]
xor edx, edx
mov eax, ebx
call fcn.005384b8
mov ebp, eax
add ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x6c]
mov eax, dword [ebx + eax*4 + 0x828]
cmp ebp, dword [eax + 0x14]
jge 0x539807
mov dword [eax + 0x14], ebp
mov edx, dword [esp + 0x3c]
add edx, edi
inc edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov byte [eax + 8], 1
mov byte [eax + 9], 1
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x84]
add edx, 4
mov dword [eax + 0x10], edx
add dword [esp + 0x34], 2
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x10]
je 0x538bab
inc edi
jmp 0x5395cb
mov eax, dword [esp + 4]
add esp, 0x90
pop ebp
pop edi
pop esi
pop ebx
ret