Function at 0x587710
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 0x588f4d
cmp byte [ebx + 0x1e], al
jne 0x588f4d
mov eax, dword [esp + 0xe0]
push ebp
push edi
call fcn.0057e180
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x588f4c
mov esi, dword [ebp + 0x40]
mov ecx, dword [edi]
call fcn.00539ae0
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.0053a240
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.00583900
add esp, 0x18
test eax, eax
jne 0x588f4c
mov eax, dword [esp + 0x68]
push eax
mov ecx, ebp
mov eax, edi
call fcn.00547e00
add esp, 4
test eax, eax
jne 0x588f4c
mov ecx, dword [ebp + 8]
add ecx, ecx
add ecx, ecx
mov esi, ebx
call fcn.0053c960
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x588f4c
xor esi, esi
xor eax, eax
cmp dword [ebp + 8], esi
jle 0x587811
mov dword [ecx + eax*4], 0xffffffff
add eax, 1
cmp eax, dword [ebp + 8]
jl 0x587802
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 0x58783d
add ecx, 1
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, esi
jne 0x587830
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 0x587a6c
mov dword [esp + 0x2c], esi
jmp 0x5878a0
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.00554790
test eax, eax
jne 0x588f4c
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x587968
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 0x587921
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x5f8b18]
cmp al, byte [ebx + 0x5f8b18]
jne 0x587921
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
test al, al
jne 0x587900
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x5f8b18]
movzx edx, byte [ecx + 0x5f8b18]
sub edx, eax
je 0x587946
add edi, 1
add esi, 0x18
cmp edi, dword [ebp + 8]
jl 0x5878f0
jmp 0x587968
cmp edi, dword [ebp + 4]
jne 0x58795d
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 0x587a03
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 0x5879b4
movzx ebx, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x5f8b18]
cmp cl, byte [ebx + 0x5f8b18]
jne 0x5879b4
mov cl, byte [eax + 1]
add eax, 1
add edx, 1
test cl, cl
jne 0x587993
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x5f8b18]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x5f8b18]
sub eax, ecx
je 0x5879f0
mov edx, str.ROWID
mov ecx, esi
call fcn.00532030
test eax, eax
je 0x5879f0
mov edx, 0x5fc044
mov ecx, esi
call fcn.00532030
test eax, eax
jne 0x587ac2
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.00546ad0
add esp, 0x10
cmp eax, 1
je 0x588f4c
cmp eax, 2
jne 0x587a4d
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 0x5878a0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xe0]
push ecx
push edx
push ebp
call fcn.00539720
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
xor ecx, ecx
test eax, eax
je 0x587ba1
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x587a97
test ecx, ecx
jle 0x587ba1
mov edx, dword [esp + 0x50]
cmp byte [edx + 0x1e], al
lea esi, [ecx*4]
je 0x587af5
mov dword [esp + 0x30], eax
jmp 0x588f4c
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.005442b0
add esp, 8
mov byte [edi + 0x12], 1
jmp 0x588f4c
cmp byte [edx + 0xea], 0
je 0x587b38
movzx eax, word [edx + 0xe8]
cmp esi, eax
jg 0x587b38
mov eax, dword [edx + 0xf4]
test eax, eax
je 0x587b38
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 0x587b95
mov dword [edx + 0xf0], ecx
jmp 0x587b95
lea edx, [esi - 1]
cmp edx, 0x7ffffefe
ja 0x587bf0
cmp dword [0x659270], 0
je 0x587be4
mov eax, dword [0x65f020]
test eax, eax
je 0x587b67
push eax
call dword [0x6592b8]
add esp, 4
lea ebx, [esp + 0x18]
mov eax, esi
call fcn.0053c460
mov eax, dword [0x65f020]
test eax, eax
je 0x587b85
push eax
call dword [0x6592c0]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x587b95
mov ecx, dword [esp + 0x50]
mov byte [ecx + 0x1e], 1
test eax, eax
mov dword [esp + 0x30], eax
je 0x588f4c
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x587c16
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x3c], 0
jne 0x587bf4
mov edx, dword [esi + 4]
xor ebp, ebp
xor eax, eax
test edx, edx
jle 0x587c02
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x34]
lea esp, [esp]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x587bf4
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x587bd0
jmp 0x587c02
push esi
call dword [0x659288]
add esp, 4
jmp 0x587b89
xor eax, eax
jmp 0x587b8d
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 0x587bb0
mov edi, dword [esp + 0xe0]
mov ebp, dword [edi + 0xc]
xor ebx, ebx
cmp ebp, ebx
jne 0x587d78
mov esi, dword [edi]
cmp esi, ebx
je 0x587c7c
cmp byte [esi + 0x1e], bl
jne 0x587d6b
cmp byte [esi + 0xea], bl
je 0x587c7c
cmp word [esi + 0xe8], 0xf0
jb 0x587c7c
mov ebp, dword [esi + 0xf4]
cmp ebp, ebx
je 0x587c7c
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 0x587cd0
mov dword [esi + 0xf0], eax
jmp 0x587cd0
cmp dword [0x659270], ebx
je 0x587d58
mov eax, dword [0x65f020]
cmp eax, ebx
je 0x587c9b
push eax
call dword [0x6592b8]
add esp, 4
lea ebx, [esp + 0x18]
mov eax, 0xf0
call fcn.0053c460
mov eax, dword [0x65f020]
test eax, eax
je 0x587cbc
push eax
call dword [0x6592c0]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x587ccc
test esi, esi
je 0x587ccc
mov byte [esi + 0x1e], 1
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x587d6b
push 0xf0
push ebx
push ebp
call fcn.005b4520
mov dword [ebp], esi
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, ebx
je 0x587cf7
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 0x588f4c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x587d2e
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x587d6f
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 0x587d71
push 0xf0
call dword [0x659288]
add esp, 4
jmp 0x587cc0
xor ebp, ebp
jmp 0x587d10
xor ebx, ebx
mov edi, dword [esp + 0xe0]
cmp byte [edi + 0x13], 0
jne 0x587d82
mov byte [ebp + 0x61], 1
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
jne 0x587d8e
mov esi, edi
mov ebx, dword [esp + 0x60]
push ebx
mov eax, edi
call fcn.0055fb10
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 0x587dff
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.00581410
add esp, 0x1c
xor eax, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xe4], eax
jmp 0x588f4c
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 0x587e1b
cmp dword [esp + 0x2c], esi
je 0x587e2a
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 0x587e3b
test esi, esi
jne 0x587e3b
cmp dword [esp + 0x2c], esi
je 0x587e45
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 0x587e90
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.00583130
add esp, 0x10
mov ebx, dword [esp + 0xec]
lea esi, [esp + 0x78]
call fcn.00554790
test eax, eax
jne 0x588f4c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x587ebb
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x587ee8
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 0x587eea
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.0057ac00
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x588f4c
movzx esi, byte [eax + 6]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x20], esi
jg 0x587f34
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x587f65
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 0x587f67
xor ebx, ebx
cmp esi, ebx
mov esi, dword [esp + 0xe0]
jne 0x587fc5
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 0x587f98
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x587fc5
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.00542760
mov ecx, dword [esp + 0x54]
add esp, 4
test dword [ecx + 0xc], 0x1000
je 0x588036
cmp dword [esi + 0x1ac], ebx
jne 0x588036
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 0x58800d
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588036
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 0x5881a9
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
jne 0x588062
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push 0x27
push eax
push ecx
mov eax, edi
mov ecx, esi
call fcn.005501b0
add esp, 0xc
mov ecx, 5
cmp dword [esp + 0xf0], ecx
je 0x58808e
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0x58], ebx
je 0x588096
jmp 0x588080
cmp byte [eax + 0x18], cl
je 0x58808e
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x588080
jmp 0x588096
mov dword [esp + 0x58], 1
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x5881a9
lea esp, [esp]
cmp dword [esp + 0x58], ebx
jne 0x5880c7
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax*4], ebx
jle 0x588191
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xe0]
push esi
push ecx
call fcn.00564e00
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 0x588101
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x588101
mov esi, 1
jmp 0x58813a
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 0x588183
cmp byte [edi + 0x1e], bl
jne 0x588183
cmp esi, ebx
jge 0x588155
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.0053f8d0
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esi + 0x10], ebx
jne 0x58817a
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x588191
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x588191
mov ecx, dword [esp + 0x38]
mov eax, 0xfffffff0
call fcn.0053f8d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
add dword [esp + 0x14], 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x5880b0
cmp dword [esp + 0x20], ebx
mov esi, dword [ebp + 0xc]
je 0x588257
cmp dword [ebp + 0x10], esi
jg 0x5881d0
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x5881d0
mov dword [esp + 0x20], 1
jmp 0x5881fd
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 0x588217
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x588217
mov esi, 1
jmp 0x58823c
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 0x5882a2
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x5882a2
cmp dword [ebp + 0x10], esi
jg 0x588271
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x588271
mov dword [esp + 0x14], 1
jmp 0x5882a2
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 0x5882b5
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x5882e6
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 0x588393
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0xe0]
push esi
push edx
push edi
call fcn.0056f500
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x588357
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x588357
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x58832a
call fcn.0053f5e0
test eax, eax
jne 0x588357
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 0x58836a
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588393
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 0x5883eb
cmp dword [esp + 0x54], ebx
je 0x5884e4
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.0053a2a0
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 0x58849b
jmp 0x588414
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xe0]
push edx
push eax
call fcn.005483b0
add esp, 8
mov dword [esp + 0x40], eax
jmp 0x5883a7
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], 0
jl 0x588477
cmp edx, 0xffffffff
je 0x588477
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x588477
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
jg 0x588447
mov edi, ebp
call fcn.0053f5e0
test eax, eax
mov edi, dword [esp + 0x10]
jne 0x58848f
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 0x58848f
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.0056f3e0
add esp, 0xc
add esi, 1
cmp esi, dword [edi + 8]
jl 0x588410
cmp dword [esp + 0x3c], 0
jne 0x5884e4
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5884b5
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x5884e4
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.0053a2a0
xor ebx, ebx
add esp, 0x14
xor esi, esi
cmp dword [edi + 8], ebx
mov dword [esp + 0x38], eax
jle 0x5886b7
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
jne 0x58857b
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x58854b
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x5886a5
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 0x5886a5
mov edx, dword [esp + 0x34]
mov eax, dword [edx + esi*4]
cmp eax, ebx
jl 0x588624
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.0056f500
mov ecx, eax
add esp, 0xc
cmp ecx, edi
mov dword [esp + 0x28], ecx
je 0x5886a5
mov eax, dword [esp + 0xe0]
mov edi, dword [eax + 0xc]
cmp edi, ebx
je 0x5886a5
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
jg 0x5885f4
call fcn.0053f5e0
test eax, eax
jne 0x5886a5
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 0x5886a5
test dword [esp + 0x68], 1
je 0x588644
cmp esi, 0x1f
jg 0x588644
mov eax, dword [esp + 0x38]
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
je 0x5886a5
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x58865f
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x58868e
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.0056e3e0
add esp, 0xc
mov edx, dword [esp + 0x10]
add esi, 1
cmp esi, dword [edx + 8]
jl 0x588523
mov edi, edx
test byte [esp + 0x68], 1
je 0x588817
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
jg 0x5886dc
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588709
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.00541a50
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.00589f60
mov esi, dword [ebp + 0xc]
add esp, 0x28
cmp dword [ebp + 0x10], esi
jg 0x58875c
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x58878d
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 0x588817
mov edi, eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], ebx
jge 0x58880f
cmp esi, dword [edi + 4]
je 0x58880f
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], eax
jg 0x5887cd
mov edi, ebp
call fcn.0053f5e0
test eax, eax
mov edi, dword [esp + 0x10]
jne 0x5887fc
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.0056e3e0
add esp, 0xc
add esi, 1
cmp esi, dword [edi + 8]
jl 0x5887a0
cmp dword [esp + 0x4c], ebx
jne 0x5889b5
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.00579ee0
add esp, 0x28
cmp dword [esp + 0x2c], ebx
je 0x58887d
mov edx, dword [esp + 0xe0]
push ebx
push esi
push edi
push edx
call fcn.0057e1e0
add esp, 0x10
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x58889a
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x58889a
mov dword [esp + 0x20], 1
jmp 0x5888cb
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.00579e20
add esp, 0xc
cmp dword [esp + 0x2c], ebx
jne 0x5888f5
cmp dword [esp + 0x3c], ebx
je 0x588931
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588908
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588931
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 0x588946
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 0x588969
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.0057e1e0
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.00550b10
add esp, 0x20
cmp esi, ebx
je 0x5889b5
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.00550160
add esp, 8
mov eax, dword [esp + 0x50]
test dword [eax + 0xc], 0x1000
je 0x588a11
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 0x1ac], ebx
jne 0x588a11
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5889e4
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588a11
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.00589f60
mov esi, dword [ebp + 0xc]
add esp, 0x24
cmp dword [ebp + 0x10], esi
jg 0x588a60
mov edi, ebp
call fcn.0053f5e0
test eax, eax
mov edi, dword [esp + 0x14]
jne 0x588a85
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 0x588a96
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 0x588b1b
lea esp, [esp]
cmp dword [esp + 0x58], ebx
jne 0x588ac3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
cmp dword [ecx + edx*4], ebx
jle 0x588b0b
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588ad6
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588b07
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 0x588ab0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588b2e
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588b57
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 0x588b74
cmp dword [eax + 0x1ac], ebx
jne 0x588b74
push eax
call fcn.00550710
add esp, 4
mov eax, dword [esp + 0x50]
test dword [eax + 0xc], 0x1000
je 0x588f4c
mov ecx, dword [esp + 0xe0]
cmp dword [ecx + 0x1ac], ebx
jne 0x588f4c
mov edx, ecx
cmp byte [edx + 0x13], bl
jne 0x588f4c
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x588bb6
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x588be7
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 0x588be9
xor ebx, ebx
push 1
mov edi, ebp
call fcn.00545870
mov eax, dword [ebp]
add esp, 4
cmp byte [eax + 0x1e], bl
jne 0x588f4c
mov ebp, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x588c10
mov eax, dword [ebx + 0x48]
jmp 0x588c15
mov eax, 0x3b9aca00
xor ecx, ecx
test eax, eax
mov dword [esp + 0x4c], ecx
jl 0x588c34
nop
cmp byte [ecx + str.rows_updated], 0
je 0x588c30
add ecx, 1
cmp ecx, eax
jle 0x588c20
mov dword [esp + 0x4c], ecx
xor ecx, ecx
cmp ecx, fcn.00531d40
movzx ecx, word [ebp + 0x1c]
mov dword [esp + 0x20], 0x202
jne 0x588dc1
test ecx, 0x2460
je 0x588d9d
test ecx, 0x2000
je 0x588cd8
mov esi, dword [ebp]
test esi, esi
je 0x588cca
mov edi, dword [esi + 0x14]
test edi, edi
je 0x588cca
push 0x40
lea edx, [esp + 0xa0]
push 0
push edx
call fcn.005b4520
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.00531d40
mov ecx, 0xa
lea esi, [esp + 0xbc]
mov edi, ebp
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.00537040
add esp, 4
jmp 0x588d9d
test ecx, 0x400
je 0x588cfc
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x588cfc
mov ecx, dword [ebp + 0x14]
push ecx
call eax
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x588d9d
test cl, 0x20
je 0x588d3c
mov esi, dword [ebp]
mov eax, dword [esi]
test eax, eax
je 0x588d25
lea ebx, [ebx]
mov edx, dword [esi + 4]
mov edi, dword [eax]
push eax
push edx
call fcn.00531d40
add esp, 8
test edi, edi
mov eax, edi
jne 0x588d10
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 0x588d9d
test cl, 0x40
je 0x588d9d
mov ebx, dword [ebp]
call fcn.005619d0
test byte [ebp + 0x1c], 0x20
je 0x588d88
mov esi, dword [ebp]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x588d75
lea ebx, [ebx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00531d40
add esp, 8
cmp edi, ebx
mov eax, edi
jne 0x588d60
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.00531d40
mov eax, str.rows_updated
add esp, 8
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], 0
jmp 0x588f31
test ecx, 0x2460
je 0x588f0d
test ecx, 0x2000
je 0x588e4b
mov esi, dword [ebp]
test esi, esi
je 0x588e3d
mov edi, dword [esi + 0x14]
test edi, edi
je 0x588e3d
push 0x40
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.005b4520
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.00531d40
mov ecx, 0xa
lea esi, [esp + 0xbc]
mov edi, ebp
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.00537040
add esp, 4
jmp 0x588f0d
test ecx, 0x400
je 0x588e6f
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x588e6f
mov edx, dword [ebp + 0x14]
push edx
call eax
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x588f0d
test cl, 0x20
je 0x588eac
mov esi, dword [ebp]
mov eax, dword [esi]
test eax, eax
je 0x588e95
lea ecx, [ecx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00531d40
add esp, 8
test edi, edi
mov eax, edi
jne 0x588e80
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 0x588f0d
test cl, 0x40
je 0x588f0d
mov ebx, dword [ebp]
call fcn.005619d0
test byte [ebp + 0x1c], 0x20
je 0x588ef8
mov esi, dword [ebp]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x588ee5
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov edi, dword [eax]
push eax
push ecx
call fcn.00531d40
add esp, 8
cmp edi, ebx
mov eax, edi
jne 0x588ed0
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.00531d40
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 0x588f5f
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.00531d40
mov eax, dword [esp + 0x38]
push eax
push esi
call fcn.00531d40
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.00539080
mov edx, dword [esp + 0xf8]
push edx
mov edi, esi
call fcn.00538470
mov eax, dword [esp + 0x100]
push eax
push esi
call fcn.00540330
add esp, 0x20
pop edi
pop esi
pop ebx
add esp, 0xcc
ret