Function at 0x588730
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [esp + 0xdc]
cmp dword [edi + 0x40], eax
mov ebx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ebx
jne 0x589f6d
cmp byte [ebx + 0x1e], al
jne 0x589f6d
mov eax, dword [esp + 0xe0]
push ebp
push edi
call fcn.0057f1a0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x589f6c
mov esi, dword [ebp + 0x40]
mov ecx, dword [edi]
call fcn.0053ab00
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
push eax
push ecx
push 0x6b
push edi
mov eax, ebp
call fcn.0053b260
xor edx, edx
cmp dword [ebp + 0x18], edx
push ebp
setne dl
push edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], edx
call fcn.00584920
add esp, 0x18
test eax, eax
jne 0x589f6c
mov eax, dword [esp + 0x68]
push eax
mov ecx, ebp
mov eax, edi
call fcn.00548e20
add esp, 4
test eax, eax
jne 0x589f6c
mov ecx, dword [ebp + 8]
add ecx, ecx
add ecx, ecx
mov esi, ebx
call fcn.0053d980
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x589f6c
xor esi, esi
xor eax, eax
cmp dword [ebp + 8], esi
jle 0x588831
mov dword [ecx + eax*4], 0xffffffff
add eax, 1
cmp eax, dword [ebp + 8]
jl 0x588822
mov eax, dword [edi + 0x44]
mov edx, dword [esp + 0xe4]
mov dword [edx + 0x20], eax
add dword [edi + 0x44], 1
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x58885d
add ecx, 1
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, esi
jne 0x588850
mov ecx, dword [esp + 0xe8]
xor eax, eax
cmp dword [ecx], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], esi
jle 0x588a8c
mov dword [esp + 0x2c], esi
jmp 0x5888c0
mov edx, dword [esp + 0xe8]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + eax]
lea esi, [esp + 0x78]
call fcn.005557b0
test eax, eax
jne 0x589f6c
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x588988
mov edx, dword [esp + 0xe8]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx + 4]
mov esi, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
lea esp, [esp]
mov ecx, dword [esi]
mov al, byte [ecx]
test al, al
mov edx, dword [esp + 0x20]
je 0x588941
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x5f9b18]
cmp al, byte [ebx + 0x5f9b18]
jne 0x588941
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x588920
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x5f9b18]
movzx edx, byte [ecx + 0x5f9b18]
sub edx, eax
je 0x588966
add edi, 1
add esi, 0x18
cmp edi, dword [ebp + 8]
jl 0x588910
jmp 0x588988
cmp edi, dword [ebp + 4]
jne 0x58897d
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [edx + edi*4], eax
cmp edi, dword [ebp + 8]
jl 0x588a23
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + edx + 4]
mov cl, byte [esi]
test cl, cl
lea ebp, [eax + edx]
mov eax, esi
mov edx, str._ROWID_
je 0x5889d4
movzx ebx, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x5f9b18]
cmp cl, byte [ebx + 0x5f9b18]
jne 0x5889d4
mov cl, byte [eax + 1]
add eax, 1
add edx, 1
test cl, cl
jne 0x5889b3
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x5f9b18]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x5f9b18]
sub eax, ecx
je 0x588a10
mov edx, str.ROWID
mov ecx, esi
call fcn.00533050
test eax, eax
je 0x588a10
mov edx, 0x5fd044
mov ecx, esi
call fcn.00533050
test eax, eax
jne 0x588ae2
mov ecx, dword [ebp]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x60]
shl edx, 4
mov edx, dword [edx + ecx]
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [edi + edi*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [ebp]
push edx
push eax
mov eax, dword [esp + 0xec]
push 0x17
call fcn.00547af0
add esp, 0x10
cmp eax, 1
je 0x589f6c
cmp eax, 2
jne 0x588a6d
mov ecx, dword [esp + 0x34]
mov dword [ecx + edi*4], 0xffffffff
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xe8]
add dword [esp + 0x2c], 0x14
add eax, 1
cmp eax, dword [edx]
mov dword [esp + 0x14], eax
jl 0x5888c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xe0]
push ecx
push edx
push ebp
call fcn.0053a740
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
xor ecx, ecx
test eax, eax
je 0x588bc1
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x588ab7
test ecx, ecx
jle 0x588bc1
mov edx, dword [esp + 0x50]
cmp byte [edx + 0x1e], al
lea esi, [ecx*4]
je 0x588b15
mov dword [esp + 0x30], eax
jmp 0x589f6c
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0xe0]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
push eax
push str.no_such_column:__s
call fcn.005452d0
add esp, 8
mov byte [edi + 0x12], 1
jmp 0x589f6c
cmp byte [edx + 0xea], 0
je 0x588b58
movzx eax, word [edx + 0xe8]
cmp esi, eax
jg 0x588b58
mov eax, dword [edx + 0xf4]
test eax, eax
je 0x588b58
mov ecx, dword [eax]
add dword [edx + 0xec], 1
mov dword [edx + 0xf4], ecx
mov ecx, dword [edx + 0xec]
cmp ecx, dword [edx + 0xf0]
jle 0x588bb5
mov dword [edx + 0xf0], ecx
jmp 0x588bb5
lea edx, [esi - 1]
cmp edx, 0x7ffffefe
ja 0x588c10
cmp dword [0x65b270], 0
je 0x588c04
mov eax, dword [0x661020]
test eax, eax
je 0x588b87
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x18]
mov eax, esi
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x588ba5
push eax
call dword [0x65b2c0]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x588bb5
mov ecx, dword [esp + 0x50]
mov byte [ecx + 0x1e], 1
test eax, eax
mov dword [esp + 0x30], eax
je 0x589f6c
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x588c36
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x3c], 0
jne 0x588c14
mov edx, dword [esi + 4]
xor ebp, ebp
xor eax, eax
test edx, edx
jle 0x588c22
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x34]
lea esp, [esp]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x588c14
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x588bf0
jmp 0x588c22
push esi
call dword [0x65b288]
add esp, 4
jmp 0x588ba9
xor eax, eax
jmp 0x588bad
mov eax, dword [esp + 0xe0]
add dword [eax + 0x48], 1
mov ebp, dword [eax + 0x48]
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov esi, dword [esi + 0x20]
add eax, 4
test esi, esi
mov dword [esp + 0x18], eax
jne 0x588bd0
mov edi, dword [esp + 0xe0]
mov ebp, dword [edi + 0xc]
xor ebx, ebx
cmp ebp, ebx
jne 0x588d98
mov esi, dword [edi]
cmp esi, ebx
je 0x588c9c
cmp byte [esi + 0x1e], bl
jne 0x588d8b
cmp byte [esi + 0xea], bl
je 0x588c9c
cmp word [esi + 0xe8], 0xf0
jb 0x588c9c
mov ebp, dword [esi + 0xf4]
cmp ebp, ebx
je 0x588c9c
mov eax, dword [ebp]
add dword [esi + 0xec], 1
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xf0]
jle 0x588cf0
mov dword [esi + 0xf0], eax
jmp 0x588cf0
cmp dword [0x65b270], ebx
je 0x588d78
mov eax, dword [0x661020]
cmp eax, ebx
je 0x588cbb
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x18]
mov eax, 0xf0
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x588cdc
push eax
call dword [0x65b2c0]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x588cec
test esi, esi
je 0x588cec
mov byte [esi + 0x1e], 1
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x588d8b
push 0xf0
push ebx
push ebp
call fcn.005b5540
mov dword [ebp], esi
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, ebx
je 0x588d17
mov dword [eax + 4], ebp
mov ecx, dword [esi + 0x88]
mov dword [ebp + 8], ecx
mov dword [ebp + 4], ebx
mov dword [esi + 0x88], ebp
mov dword [ebp + 0x44], 0x26bceaa5
cmp ebp, ebx
mov dword [edi + 0xc], ebp
je 0x589f6c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588d4e
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x588d8f
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
xor ebx, ebx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x87
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x588d91
push 0xf0
call dword [0x65b288]
add esp, 4
jmp 0x588ce0
xor ebp, ebp
jmp 0x588d30
xor ebx, ebx
mov edi, dword [esp + 0xe0]
cmp byte [edi + 0x13], 0
jne 0x588da2
mov byte [ebp + 0x61], 1
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
jne 0x588dae
mov esi, edi
mov ebx, dword [esp + 0x60]
push ebx
mov eax, edi
call fcn.00560b30
mov edx, 1
or byte [esi + 0x158], dl
mov ecx, ebx
mov eax, edx
shl eax, cl
mov ecx, dword [esp + 0x14]
add esp, 4
or dword [esi + 0x150], eax
test byte [ecx + 0x1e], 0x10
je 0x588e1f
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0xf0]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xf8]
push ecx
push edi
call fcn.00582430
add esp, 0x1c
xor eax, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xe4], eax
jmp 0x589f6c
add dword [edi + 0x48], edx
mov eax, dword [edi + 0x48]
mov esi, dword [esp + 0x54]
test esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
jne 0x588e3b
cmp dword [esp + 0x2c], esi
je 0x588e4a
lea ebx, [eax + 1]
mov dword [esp + 0x6c], ebx
mov ebx, dword [ecx + 8]
add ebx, eax
mov dword [edi + 0x48], ebx
cmp dword [esp + 0x3c], 0
jne 0x588e5b
test esi, esi
jne 0x588e5b
cmp dword [esp + 0x2c], esi
je 0x588e65
add dword [edi + 0x48], edx
mov edx, dword [edi + 0x48]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x4c], 0
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 8]
lea eax, [eax + edx + 1]
mov dword [edi + 0x48], eax
je 0x588eb0
mov edx, dword [edi + 0x208]
mov eax, dword [ecx]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
push edx
mov dword [edi + 0x208], eax
mov eax, dword [esp + 0xf0]
push eax
push ecx
push edi
mov dword [esp + 0x84], edi
call fcn.00584150
add esp, 0x10
mov ebx, dword [esp + 0xec]
lea esi, [esp + 0x78]
call fcn.005557b0
test eax, eax
jne 0x589f6c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588edb
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x588f08
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
xor ebx, ebx
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0xa
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x588f0a
xor ebx, ebx
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
push 4
push ebx
push edx
push eax
push ecx
call fcn.0057bc20
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x589f6c
movzx esi, byte [eax + 6]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x20], esi
jg 0x588f54
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x588f85
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
xor ebx, ebx
mov byte [eax], 0x3d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x588f87
xor ebx, ebx
cmp esi, ebx
mov esi, dword [esp + 0xe0]
jne 0x588fe5
add dword [esi + 0x48], 1
mov eax, dword [esi + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x588fb8
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x588fe5
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x69
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x18]
push eax
call fcn.00543780
mov ecx, dword [esp + 0x54]
add esp, 4
test dword [ecx + 0xc], 0x1000
je 0x589056
cmp dword [esi + 0x1ac], ebx
jne 0x589056
add dword [esi + 0x48], 1
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov edx, dword [esi + 0x48]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], eax
jg 0x58902d
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589056
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x4c], ebx
jne 0x5891c9
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
jne 0x589082
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push 0x27
push eax
push ecx
mov eax, edi
mov ecx, esi
call fcn.005511d0
add esp, 0xc
mov ecx, 5
cmp dword [esp + 0xf0], ecx
je 0x5890ae
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0x58], ebx
je 0x5890b6
jmp 0x5890a0
cmp byte [eax + 0x18], cl
je 0x5890ae
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x5890a0
jmp 0x5890b6
mov dword [esp + 0x58], 1
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x5891c9
lea esp, [esp]
cmp dword [esp + 0x58], ebx
jne 0x5890e7
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax*4], ebx
jle 0x5891b1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xe0]
push esi
push ecx
call fcn.00565e20
mov edx, dword [esi + 0x14]
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
jg 0x589121
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x589121
mov esi, 1
jmp 0x58915a
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
lea edx, [edx + ecx + 1]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov edi, dword [ebp]
mov eax, esi
je 0x5891a3
cmp byte [edi + 0x1e], bl
jne 0x5891a3
cmp esi, ebx
jge 0x589175
mov eax, dword [ebp + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.005408f0
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esi + 0x10], ebx
jne 0x58919a
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x5891b1
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x5891b1
mov ecx, dword [esp + 0x38]
mov eax, 0xfffffff0
call fcn.005408f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
add dword [esp + 0x14], 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x5890d0
cmp dword [esp + 0x20], ebx
mov esi, dword [ebp + 0xc]
je 0x589277
cmp dword [ebp + 0x10], esi
jg 0x5891f0
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x5891f0
mov dword [esp + 0x20], 1
jmp 0x58921d
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589237
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x589237
mov esi, 1
jmp 0x58925c
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x14], esi
jle 0x5892c2
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x5892c2
cmp dword [ebp + 0x10], esi
jg 0x589291
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x589291
mov dword [esp + 0x14], 1
jmp 0x5892c2
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x6a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5892d5
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589306
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x3c], ebx
je 0x5893b3
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0xe0]
push esi
push edx
push edi
call fcn.00570520
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x589377
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x589377
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x58934a
call fcn.00540600
test eax, eax
jne 0x589377
mov ecx, dword [edi + 0x14]
add dword [edi + 0xc], 1
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x44]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x58938a
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5893b3
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x44]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x2c], ebx
jne 0x58940b
cmp dword [esp + 0x54], ebx
je 0x589504
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x10]
push ecx
push 3
push ebx
push edx
push eax
mov eax, dword [esp + 0x68]
mov ebx, edi
call fcn.0053b2c0
mov edx, dword [esp + 0x54]
or edx, eax
xor esi, esi
add esp, 0x14
cmp dword [edi + 8], esi
mov dword [esp + 0x40], edx
jle 0x5894bb
jmp 0x589434
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xe0]
push edx
push eax
call fcn.005493d0
add esp, 8
mov dword [esp + 0x40], eax
jmp 0x5893c7
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], 0
jl 0x589497
cmp edx, 0xffffffff
je 0x589497
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x589497
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x589467
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0x10]
jne 0x5894af
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
add edx, esi
mov byte [eax], 0xa
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x62], cl
jmp 0x5894af
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
push esi
push ecx
lea ebx, [esi + eax]
push edi
mov eax, ebp
call fcn.00570400
add esp, 0xc
add esi, 1
cmp esi, dword [edi + 8]
jl 0x589430
cmp dword [esp + 0x3c], 0
jne 0x589504
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5894d5
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589504
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0xe
mov byte [eax + 3], cl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x62], cl
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe0]
mov edi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x58]
push 1
push 1
push ecx
push edx
mov ebx, edi
call fcn.0053b2c0
xor ebx, ebx
add esp, 0x14
xor esi, esi
cmp dword [edi + 8], ebx
mov dword [esp + 0x38], eax
jle 0x5896d7
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
jne 0x58959b
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x58956b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5896c5
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
add ecx, esi
mov byte [eax], 0xa
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x5896c5
mov edx, dword [esp + 0x34]
mov eax, dword [edx + esi*4]
cmp eax, ebx
jl 0x589644
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0xe0]
lea edi, [ecx + esi]
push edi
push eax
push edx
call fcn.00570520
mov ecx, eax
add esp, 0xc
cmp ecx, edi
mov dword [esp + 0x28], ecx
je 0x5896c5
mov eax, dword [esp + 0xe0]
mov edi, dword [eax + 0xc]
cmp edi, ebx
je 0x5896c5
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
jg 0x589614
call fcn.00540600
test eax, eax
jne 0x5896c5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add dword [edi + 0xc], 1
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
add ecx, esi
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
jmp 0x5896c5
test dword [esp + 0x68], 1
je 0x589664
cmp esi, 0x1f
jg 0x589664
mov eax, dword [esp + 0x38]
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
je 0x5896c5
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x58967f
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5896ae
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add edx, esi
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
add eax, esi
push eax
push ecx
push ebp
mov eax, esi
call fcn.0056f400
add esp, 0xc
mov edx, dword [esp + 0x10]
add esi, 1
cmp esi, dword [edx + 8]
jl 0x589543
mov edi, edx
test byte [esp + 0x68], 1
je 0x589837
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
jg 0x5896fc
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589729
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x1d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [esp + 0x10]
push ebp
mov eax, esi
call fcn.00542a70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0xf0]
push esi
push 1
push eax
push 0x6b
push ecx
push edx
call fcn.0058af80
mov esi, dword [ebp + 0xc]
add esp, 0x28
cmp dword [ebp + 0x10], esi
jg 0x58977c
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5897ad
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x10]
xor esi, esi
cmp dword [eax + 8], ebx
jle 0x589837
mov edi, eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], ebx
jge 0x58982f
cmp esi, dword [edi + 4]
je 0x58982f
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x5897ed
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0x10]
jne 0x58981c
mov eax, dword [esp + 0x28]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x48]
add edx, esi
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x48]
add eax, esi
push eax
push edi
push ebp
mov eax, esi
call fcn.0056f400
add esp, 0xc
add esi, 1
cmp esi, dword [edi + 8]
jl 0x5897c0
cmp dword [esp + 0x4c], ebx
jne 0x5899d5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xf0]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x50]
neg eax
push 1
sbb eax, eax
and eax, esi
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xf8]
push edx
push eax
push edi
push ecx
call fcn.0057af00
add esp, 0x28
cmp dword [esp + 0x2c], ebx
je 0x58989d
mov edx, dword [esp + 0xe0]
push ebx
push esi
push edi
push edx
call fcn.0057f200
add esp, 0x10
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5898ba
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x5898ba
mov dword [esp + 0x20], 1
jmp 0x5898eb
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe0]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
call fcn.0057ae40
add esp, 0xc
cmp dword [esp + 0x2c], ebx
jne 0x589915
cmp dword [esp + 0x3c], ebx
je 0x589951
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589928
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589951
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x39
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x589966
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 8], eax
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x589989
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xe0]
push edx
push ebx
push eax
push ecx
call fcn.0057f200
add esp, 0x10
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push 1
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xf4]
push ecx
push edx
push eax
call fcn.00551b30
add esp, 0x20
cmp esi, ebx
je 0x5899d5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xe0]
push ecx
push edx
call fcn.00551180
add esp, 8
mov eax, dword [esp + 0x50]
test dword [eax + 0xc], 0x1000
je 0x589a31
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 0x1ac], ebx
jne 0x589a31
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589a04
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589a31
mov eax, dword [ebp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov ecx, 1
add dword [ebp + 0xc], ecx
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push edi
push eax
mov eax, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0xf0]
push 2
push eax
push 0x6b
push ecx
push edx
call fcn.0058af80
mov esi, dword [ebp + 0xc]
add esp, 0x24
cmp dword [ebp + 0x10], esi
jg 0x589a80
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0x14]
jne 0x589aa5
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp eax, edi
jle 0x589ab6
mov ecx, dword [ebp + 0x14]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x589b3b
lea esp, [esp]
cmp dword [esp + 0x58], ebx
jne 0x589ae3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
cmp dword [ecx + edx*4], ebx
jle 0x589b2b
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589af6
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589b27
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
lea edx, [edx + ecx + 1]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
add dword [esp + 0x14], 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x589ad0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589b4e
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589b77
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0xe0]
cmp byte [eax + 0x13], bl
jne 0x589b94
cmp dword [eax + 0x1ac], ebx
jne 0x589b94
push eax
call fcn.00551730
add esp, 4
mov eax, dword [esp + 0x50]
test dword [eax + 0xc], 0x1000
je 0x589f6c
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 0x1ac], ebx
jne 0x589f6c
mov edx, ecx
cmp byte [edx + 0x13], bl
jne 0x589f6c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x589bd6
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x589c07
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
xor ebx, ebx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x5c]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x589c09
xor ebx, ebx
push 1
mov edi, ebp
call fcn.00546890
mov eax, dword [ebp]
add esp, 4
cmp byte [eax + 0x1e], bl
jne 0x589f6c
mov ebp, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x589c30
mov eax, dword [ebx + 0x48]
jmp 0x589c35
mov eax, 0x3b9aca00
xor ecx, ecx
test eax, eax
mov dword [esp + 0x4c], ecx
jl 0x589c54
nop
cmp byte [ecx + str.rows_updated], 0
je 0x589c50
add ecx, 1
cmp ecx, eax
jle 0x589c40
mov dword [esp + 0x4c], ecx
xor ecx, ecx
cmp ecx, fcn.00532d60
movzx ecx, word [ebp + 0x1c]
mov dword [esp + 0x20], 0x202
jne 0x589de1
test ecx, 0x2460
je 0x589dbd
test ecx, 0x2000
je 0x589cf8
mov esi, dword [ebp]
test esi, esi
je 0x589cea
mov edi, dword [esi + 0x14]
test edi, edi
je 0x589cea
push 0x40
lea edx, [esp + 0xa0]
push 0
push edx
call fcn.005b5540
lea eax, [esp + 0xa8]
push eax
mov word [esp + 0xd0], 1
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xac], esi
call edi
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
push ecx
push edx
call fcn.00532d60
mov ecx, 0xa
lea esi, [esp + 0xbc]
mov edi, ebp
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.00538060
add esp, 4
jmp 0x589dbd
test ecx, 0x400
je 0x589d1c
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x589d1c
mov ecx, dword [ebp + 0x14]
push ecx
call eax
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x589dbd
test cl, 0x20
je 0x589d5c
mov esi, dword [ebp]
mov eax, dword [esi]
test eax, eax
je 0x589d45
lea ebx, [ebx]
mov edx, dword [esi + 4]
mov edi, dword [eax]
push eax
push edx
call fcn.00532d60
add esp, 8
test edi, edi
mov eax, edi
jne 0x589d30
xor eax, eax
mov dword [esi], eax
mov word [esi + 0x18], ax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0x1a], 1
jmp 0x589dbd
test cl, 0x40
je 0x589dbd
mov ebx, dword [ebp]
call fcn.005629f0
test byte [ebp + 0x1c], 0x20
je 0x589da8
mov esi, dword [ebp]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x589d95
lea ebx, [ebx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00532d60
add esp, 8
cmp edi, ebx
mov eax, edi
jne 0x589d80
mov dword [esi], ebx
mov word [esi + 0x18], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1a], 1
mov cx, word [ebp + 0x1c]
and cx, 0xbf01
or cx, 1
mov word [ebp + 0x1c], cx
mov byte [ebp + 0x1e], 5
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x10]
push edx
push eax
call fcn.00532d60
mov eax, str.rows_updated
add esp, 8
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], 0
jmp 0x589f51
test ecx, 0x2460
je 0x589f2d
test ecx, 0x2000
je 0x589e6b
mov esi, dword [ebp]
test esi, esi
je 0x589e5d
mov edi, dword [esi + 0x14]
test edi, edi
je 0x589e5d
push 0x40
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.005b5540
lea edx, [esp + 0xa8]
push edx
mov word [esp + 0xd0], 1
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xac], esi
call edi
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.00532d60
mov ecx, 0xa
lea esi, [esp + 0xbc]
mov edi, ebp
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.00538060
add esp, 4
jmp 0x589f2d
test ecx, 0x400
je 0x589e8f
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x589e8f
mov edx, dword [ebp + 0x14]
push edx
call eax
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x589f2d
test cl, 0x20
je 0x589ecc
mov esi, dword [ebp]
mov eax, dword [esi]
test eax, eax
je 0x589eb5
lea ecx, [ecx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00532d60
add esp, 8
test edi, edi
mov eax, edi
jne 0x589ea0
xor eax, eax
mov dword [esi], eax
mov word [esi + 0x18], ax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0x1a], 1
jmp 0x589f2d
test cl, 0x40
je 0x589f2d
mov ebx, dword [ebp]
call fcn.005629f0
test byte [ebp + 0x1c], 0x20
je 0x589f18
mov esi, dword [ebp]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x589f05
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov edi, dword [eax]
push eax
push ecx
call fcn.00532d60
add esp, 8
cmp edi, ebx
mov eax, edi
jne 0x589ef0
mov dword [esi], ebx
mov word [esi + 0x18], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1a], 1
mov dx, word [ebp + 0x1c]
and dx, 0xbf01
or dx, 1
mov word [ebp + 0x1c], dx
mov byte [ebp + 0x1e], 5
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.00532d60
add esp, 8
xor eax, eax
mov dword [ebp + 0x14], str.rows_updated
mov dword [ebp + 0x20], eax
mov dword [esp + 0x20], 0xa02
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x24], eax
mov ax, word [esp + 0x20]
mov dword [ebp + 0x18], edx
mov word [ebp + 0x1c], ax
mov byte [ebp + 0x1f], 1
mov byte [ebp + 0x1e], 3
pop ebp
mov eax, dword [esp + 0x70]
test eax, eax
je 0x589f7f
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x208], ecx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
push edx
push esi
call fcn.00532d60
mov eax, dword [esp + 0x38]
push eax
push esi
call fcn.00532d60
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.0053a0a0
mov edx, dword [esp + 0xf8]
push edx
mov edi, esi
call fcn.00539490
mov eax, dword [esp + 0x100]
push eax
push esi
call fcn.00541350
add esp, 0x20
pop edi
pop esi
pop ebx
add esp, 0xcc
ret