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

Disassembly:
sub esp, 0x8c
push ebx
xor ebx, ebx
or eax, 0xffffffff
push ebp
mov ebp, dword [esp + 0x98]
cmp dword [ebp + 0x40], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], eax
jne 0x537774
cmp byte [eax + 0x1e], bl
jne 0x537774
mov eax, dword [esp + 0x9c]
push edi
push eax
push ebp
call fcn.0052f790
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x537773
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp]
push esi
push ecx
push edx
call fcn.00502d60
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb0]
push eax
push 0x64
push edi
push ebp
call fcn.00524260
xor ecx, ecx
cmp dword [edi + 0x18], ebx
mov esi, eax
setne cl
push esi
push edi
push ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ecx
call fcn.0052f7f0
add esp, 0x24
test eax, eax
jne 0x537772
push edi
push ebp
call fcn.005195c0
add esp, 8
test eax, eax
jne 0x537772
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x40]
add edx, edx
add edx, edx
push edx
push eax
call fcn.00508290
mov ecx, eax
add esp, 8
cmp ecx, ebx
mov dword [esp + 0x30], ecx
je 0x537772
xor eax, eax
cmp dword [edi + 4], ebx
jle 0x536c5f
lea esp, [esp]
mov dword [ecx + eax*4], 0xffffffff
add eax, 1
cmp eax, dword [edi + 4]
jl 0x536c50
cmp esi, ebx
je 0x536c77
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x38], eax
add eax, 1
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x44]
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x20], eax
add dword [ebp + 0x44], 1
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x536ca3
add ecx, 1
mov dword [ebp + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x536c96
mov ecx, dword [esp + 0xa8]
xor eax, eax
cmp dword [ecx], ebx
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], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
jle 0x536e37
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0xa8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebx + eax]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0052df30
add esp, 8
test eax, eax
jne 0x537772
xor esi, esi
cmp dword [edi + 4], esi
jle 0x536d94
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx + 4]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx]
push eax
push edx
call fcn.005087b0
add esp, 8
test eax, eax
je 0x536d63
add esi, 1
add ebx, 0x14
cmp esi, dword [edi + 4]
jl 0x536d30
jmp 0x536d90
cmp esi, dword [edi + 0xc]
jne 0x536d85
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
mov dword [esp + 0x28], 1
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 0x10]
cmp esi, dword [edi + 4]
jl 0x536dd1
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + ecx + 4]
push edx
call fcn.0052bf80
add esp, 4
test eax, eax
je 0x536ecc
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + ecx]
mov dword [esp + 0x28], 1
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
mov edx, dword [edi + 8]
push eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi]
push eax
push ecx
push 0x17
push ebp
call fcn.005265d0
add esp, 0x14
cmp eax, 1
je 0x537772
cmp eax, 2
jne 0x536e14
mov edx, dword [esp + 0x30]
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
add eax, 1
add ebx, 0xc
cmp eax, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jl 0x536d01
xor ebx, ebx
mov eax, dword [edi + 0x10]
xor ecx, ecx
cmp eax, ebx
je 0x536e6f
mov eax, dword [eax + 0x20]
add ecx, 1
cmp eax, ebx
jne 0x536e40
cmp ecx, ebx
jle 0x536e6f
lea eax, [ecx*4]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00508290
add esp, 8
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x537772
mov esi, dword [edi + 0x10]
test esi, esi
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], esi
je 0x536f1c
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea ebx, [ebx]
cmp dword [esp + 0x28], 0
jne 0x536ef9
mov edx, dword [esi + 4]
xor ecx, ecx
xor eax, eax
test edx, edx
mov dword [esp + 0x24], ecx
jle 0x536f00
mov ecx, dword [esi + 8]
lea esp, [esp]
mov esi, dword [ecx]
cmp dword [ebx + esi*4], 0
jge 0x536ef5
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x536eb0
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
jmp 0x536f00
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4 + 4]
push edx
push str.no_such_column:__s
push ebp
call fcn.00508680
add esp, 0xc
jmp 0x537772
mov esi, dword [esp + 0x10]
add dword [ebp + 0x48], 1
mov ecx, dword [ebp + 0x48]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov esi, dword [esi + 0x20]
add eax, 4
test esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
jne 0x536e90
cmp dword [esp + 0x28], 0
mov eax, dword [ebp + 0x48]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
lea eax, [eax + edx + 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x48], eax
je 0x536f48
add ecx, 1
add eax, 1
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x48], eax
push ebp
call fcn.00529190
mov esi, eax
add esp, 4
test esi, esi
je 0x537772
cmp byte [ebp + 0x13], 0
jne 0x536f6a
push esi
call fcn.00506930
add esp, 4
mov eax, dword [esp + 0x20]
push eax
push 1
push ebp
call fcn.00518f60
add esp, 0xc
cmp byte [edi + 0x39], 0
je 0x536fbe
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push ebx
push edx
push eax
push edi
push ecx
mov eax, ebp
call fcn.00536900
add esp, 0x18
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xa4], eax
jmp 0x537772
cmp dword [esp + 0x44], 0
je 0x536fd6
mov edx, dword [edi]
push edx
lea eax, [esp + 0x74]
push eax
push ebp
call fcn.00526660
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x5370f4
mov ecx, dword [edi + 4]
push ecx
push 0
push 0x62
push esi
call fcn.00504cb0
mov edx, dword [esp + 0x4c]
push 0
push edx
push 0x6f
push esi
call fcn.00504cb0
mov eax, dword [edi + 4]
push eax
push 0
push 0x62
push esi
call fcn.00504cb0
mov ecx, dword [esp + 0x68]
push 0
push ecx
push 0x6f
push esi
call fcn.00504cb0
add esp, 0x40
push 0
push 0
push 0x5b
push esi
call fcn.00504cb0
push esi
mov dword [esp + 0x30], eax
call fcn.00504cd0
mov ebx, eax
push esi
mov dword [esp + 0x4c], ebx
call fcn.004f71f0
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x84], eax
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x58]
push ebx
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
push edi
push 1
push ecx
push 0x64
push ebp
call fcn.00524550
add esp, 0x44
test eax, eax
jne 0x537772
push eax
push eax
push 0x5b
push esi
call fcn.00504cb0
push esi
mov dword [esp + 0x6c], eax
call fcn.004f71f0
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x78], eax
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x54]
push ebx
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push eax
push edi
push 2
push ecx
push 0x64
push ebp
call fcn.00524550
add esp, 0x40
test eax, eax
jne 0x537772
push eax
push eax
push 0x5b
push esi
call fcn.00504cb0
mov edx, dword [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x80], eax
call fcn.00505020
add esp, 0x18
cmp dword [esp + 0x44], 0
mov ebx, dword [esp + 0xac]
je 0x537115
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
push ebp
call fcn.0052f8d0
add esp, 0x10
lea edx, [esp + 0x78]
push ebx
push edx
call fcn.0052df30
add esp, 8
test eax, eax
jne 0x537772
mov eax, dword [esp + 0x24]
push eax
push 0
push 0x71
push esi
call fcn.00504cb0
mov ecx, dword [esp + 0xb4]
push 4
push 0
push ebx
push ecx
push ebp
call fcn.00539850
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x537772
movzx edx, byte [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dl, byte [edi + 0x39]
neg dl
push eax
push ecx
sbb edx, edx
and edx, 0xffffffe4
add edx, 0x27
push edx
push esi
call fcn.00504cb0
add esp, 0x10
cmp dword [esp + 0x1c], 0
jne 0x53719c
mov eax, dword [esp + 0x24]
push 0
push eax
push 0x37
push esi
call fcn.00504cb0
add esp, 0x10
push ebx
call fcn.005383c0
mov ecx, dword [esp + 0x44]
add esp, 4
test byte [ecx + 0xc], 0x80
je 0x5371d1
cmp dword [ebp + 0x188], 0
jne 0x5371d1
add dword [ebp + 0x48], 1
mov eax, dword [ebp + 0x48]
push eax
push 0
push 0x2f
push esi
mov dword [esp + 0x64], eax
call fcn.00504cb0
add esp, 0x10
cmp dword [esp + 0x44], 0
jne 0x537291
cmp byte [edi + 0x39], 0
jne 0x537291
cmp dword [esp + 0x1c], 0
jne 0x537203
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 9
push edi
push edx
push eax
push ebp
call fcn.0052f860
add esp, 0x14
mov ecx, 5
cmp dword [esp + 0xb0], ecx
je 0x53722e
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [esp + 0x4c], 0
je 0x537236
cmp byte [eax + 0x18], cl
je 0x53722e
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x537220
jmp 0x537236
mov dword [esp + 0x4c], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
mov dword [esp + 0x14], 0
je 0x537291
cmp dword [esp + 0x4c], 0
jne 0x53725a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp dword [ecx + edx*4], 0
jle 0x537285
push ebx
push ebp
call fcn.00519020
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x20]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push ecx
lea ecx, [edx + eax + 1]
push ecx
push 9
push esi
call fcn.00507050
add esp, 0x24
mov ebx, dword [ebx + 0x20]
add dword [esp + 0x14], 1
test ebx, ebx
jne 0x537245
cmp dword [esp + 0x48], 0
je 0x5372a6
mov edx, dword [esp + 0x34]
push edx
push esi
call fcn.00504d20
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x5372dc
mov eax, dword [esp + 0x24]
push eax
push 0x42
push esi
call fcn.00504c90
push 0x5b
push esi
mov dword [esp + 0x30], eax
call fcn.00504c70
mov ecx, dword [esp + 0x30]
push ecx
mov ebx, eax
push esi
mov dword [esp + 0x50], ebx
call fcn.00505020
add esp, 0x1c
jmp 0x5372f4
mov edx, dword [esp + 0x24]
push 0
push edx
push 0x5d
push esi
call fcn.00504cb0
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x48], 0
je 0x5374f7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x2d
push esi
call fcn.00504be0
push ebp
call fcn.0052c6f0
mov ebx, eax
push ebp
mov dword [esp + 0x38], ebx
call fcn.0052c6f0
mov edx, dword [esp + 0x34]
push ebx
push edx
push 0x27
push esi
mov dword [esp + 0x40], eax
call fcn.00504cb0
add esp, 0x2c
cmp dword [esp + 0x5c], 0
jne 0x53734b
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x71
jmp 0x537357
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x2b
push esi
call fcn.00504cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push ebx
push eax
push ecx
push 0x69
push esi
call fcn.00504be0
add esp, 0x14
cmp dword [esp + 0x28], 0
push ebx
je 0x53738e
mov edx, dword [esp + 0x54]
push edx
push ebp
call fcn.0052c4b0
add esp, 0xc
jmp 0x53739e
mov eax, dword [esp + 0x1c]
push eax
push 0x27
push esi
call fcn.00504cb0
add esp, 0x10
mov ecx, dword [edi + 4]
push ecx
push ebp
call fcn.0052c7b0
xor ebx, ebx
add esp, 8
cmp dword [edi + 4], ebx
mov dword [esp + 0x20], eax
jle 0x53745a
lea ebx, [ebx]
cmp ebx, dword [edi + 0xc]
jne 0x5373db
mov edx, dword [esp + 0x20]
add edx, ebx
push edx
push 0
push 0x71
push esi
call fcn.00504cb0
add esp, 0x10
jmp 0x53744e
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebx*4]
mov ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x60]
test ecx, edx
jne 0x53740e
cmp ecx, 0xffffffff
je 0x53740e
mov eax, dword [esp + 0x20]
add eax, ebx
push eax
push 0
push 0x71
push esi
call fcn.00504cb0
add esp, 0x10
jmp 0x53744e
mov ecx, dword [esp + 0x20]
add ecx, ebx
test eax, eax
push ecx
jge 0x537434
mov edx, dword [esp + 0x1c]
push ebx
push edx
push 3
push esi
call fcn.00504be0
push ebx
push edi
push esi
call fcn.00536880
add esp, 0x20
jmp 0x53744e
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4]
push edx
push ebp
call fcn.0052c4b0
add esp, 0xc
add ebx, 1
cmp ebx, dword [edi + 4]
jl 0x5373c0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x20]
push eax
push ecx
push ebx
push 0x55
push esi
call fcn.00504be0
add esp, 0x14
cmp dword [esp + 0x44], 0
jne 0x53748f
push edi
push esi
call fcn.00534a60
mov edx, dword [edi + 4]
push edx
push ebx
push ebp
call fcn.0052c340
add esp, 0x14
mov eax, dword [edi + 4]
push eax
push ebx
push ebp
call fcn.0052c820
add esp, 0xc
cmp dword [ebp + 0x40], 0
jne 0x537772
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push ebx
push ecx
push edx
push 0x69
push esi
call fcn.00504be0
push ebx
push ebp
call fcn.0052c790
mov eax, dword [esp + 0x30]
push eax
push ebp
call fcn.0052c790
mov ecx, dword [esp + 0x90]
push ecx
push 0
push 0x5b
push esi
call fcn.00504cb0
mov edx, dword [esp + 0x8c]
push edx
push esi
call fcn.00505020
mov ebx, dword [esp + 0x70]
add esp, 0x3c
cmp dword [esp + 0x44], 0
jne 0x53765c
cmp byte [edi + 0x39], 0
jne 0x53765c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x2d
push esi
call fcn.00504be0
add esp, 0x14
cmp dword [esp + 0x28], 0
je 0x537545
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
push ebx
push edx
push ebp
call fcn.0052c470
push ebx
push 0x25
push esi
call fcn.00504c90
add esp, 0x18
xor ebx, ebx
cmp dword [edi + 4], ebx
jle 0x5375c7
lea esp, [esp]
cmp ebx, dword [edi + 0xc]
jne 0x53756d
mov eax, dword [esp + 0x10]
lea ecx, [eax + ebx + 1]
push ecx
push 0
push 0x71
push esi
call fcn.00504cb0
add esp, 0x10
jmp 0x5375bf
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ebx*4]
test eax, eax
jge 0x53759c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [eax + ebx + 1]
push ecx
push ebx
push edx
push 3
push esi
call fcn.00504be0
push ebx
push edi
push esi
call fcn.00536880
add esp, 0x20
jmp 0x5375bf
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ebx + 1]
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [ecx + 0xc]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4]
push eax
push ebp
call fcn.0052c470
add esp, 0xc
add ebx, 1
cmp ebx, dword [edi + 4]
jl 0x537550
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push ecx
push edx
push ebx
push edi
push ebp
call fcn.00534cf0
mov eax, dword [esp + 0x48]
push eax
push 0
push ebx
push 0x2d
push esi
call fcn.00504be0
mov ecx, dword [esp + 0x64]
push ecx
push ebx
push edi
push ebp
mov dword [esp + 0xa0], eax
call fcn.0052fa60
add esp, 0x48
cmp dword [esp + 0x28], 0
je 0x53762d
push 0
push ebx
push 0x59
push esi
call fcn.00504cb0
add esp, 0x10
mov edx, dword [esp + 0x58]
push edx
push esi
call fcn.00505020
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 1
push eax
push ecx
push edx
push ebx
push edi
push ebp
call fcn.005353e0
mov ebx, dword [esp + 0x60]
add esp, 0x2c
mov eax, dword [esp + 0x40]
test byte [eax + 0xc], 0x80
je 0x537681
cmp dword [ebp + 0x188], 0
jne 0x537681
mov ecx, dword [esp + 0x54]
push 1
push ecx
push 0x29
push esi
call fcn.00504cb0
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x5376a5
mov edx, dword [esp + 0x64]
push edx
push 0
push 0x5b
push esi
call fcn.00504cb0
mov eax, dword [esp + 0x78]
push eax
push esi
call fcn.00505020
add esp, 0x18
push ebx
push 0
push 0x5b
push esi
call fcn.00504cb0
push ebx
push esi
call fcn.00505020
mov edi, dword [edi + 0x10]
add esp, 0x18
xor ebx, ebx
test edi, edi
je 0x5376f4
cmp dword [esp + 0x4c], 0
jne 0x5376d4
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + ebx*4], 0
jle 0x5376ea
mov edx, dword [esp + 0x18]
push 0
lea eax, [edx + ebx + 1]
push eax
push 0x20
push esi
call fcn.00504cb0
add esp, 0x10
mov edi, dword [edi + 0x20]
add ebx, 1
test edi, edi
jne 0x5376c3
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x20
push esi
call fcn.00504cb0
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x53772e
mov edx, dword [esp + 0x38]
push 0
push edx
push 0x20
push esi
call fcn.00504cb0
mov eax, dword [esp + 0x4c]
push 0
push eax
push 0x20
push esi
call fcn.00504cb0
add esp, 0x20
mov ecx, dword [esp + 0x40]
test byte [ecx + 0xc], 0x80
je 0x537772
cmp dword [ebp + 0x188], 0
jne 0x537772
cmp byte [ebp + 0x13], 0
jne 0x537772
mov edx, dword [esp + 0x54]
push 1
push edx
push 0x56
push esi
call fcn.00504cb0
push 1
push esi
call fcn.005058c0
push 0xfffffffffffffffe
push str.rows_updated
push 0
push 0
push esi
call fcn.00505970
add esp, 0x2c
pop esi
pop edi
lea eax, [esp + 0x68]
push eax
call fcn.00526690
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00504810
mov edx, dword [esp + 0x30]
push edx
call fcn.00504810
mov eax, dword [esp + 0xa8]
push eax
call fcn.00518c00
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0052bda0
mov edx, dword [esp + 0xb8]
push edx
call fcn.0052c980
add esp, 0x18
pop ebp
pop ebx
add esp, 0x8c
ret