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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [esp + 0x58]
mov ebx, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x53187f
lea ebx, [ebx]
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0x20]
cmp eax, ebp
jne 0x531870
mov esi, dword [esp + 0x60]
push esi
push edi
call fcn.00531af0
add esp, 8
test eax, eax
jne 0x531adf
push ebp
push esi
push edi
call fcn.00533260
add esp, 0xc
test eax, eax
jne 0x531adf
push 0x50
push ebx
call fcn.00511a20
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x531adf
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [edi + 0x1c], 1
je 0x5318d8
push eax
push ebx
call fcn.00511850
add esp, 8
jmp 0x5318da
xor eax, eax
mov dword [edi], eax
mov esi, dword [esi]
mov eax, dword [esi]
mov dword [edi + 4], eax
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
push ebx
mov dword [esp + 0x28], esi
call fcn.00511a20
add esp, 8
cmp dword [edi + 4], ebp
mov dword [esp + 0x24], eax
mov dword [edi + 8], eax
mov dword [esp + 0x10], ebp
jle 0x531abb
add eax, 0x12
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebp
jmp 0x531924
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x531947
push eax
push ebx
call fcn.00511850
add esp, 8
jmp 0x531996
cmp byte [ecx], 0x70
jne 0x53196a
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x53196a
mov edx, dword [eax + 0x14]
add eax, 0x14
test edx, edx
je 0x53196a
cmp byte [edx], 0
je 0x53196a
push eax
push 0x579c34
jmp 0x53198d
lea eax, [ecx + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x531980
cmp byte [ecx], 0
je 0x531980
push eax
push 0x579c34
jmp 0x53198d
mov eax, dword [esp + 0x10]
add eax, 1
push eax
push str.column_d
push ebx
call fcn.0050d8d0
add esp, 0xc
mov esi, eax
test esi, esi
je 0x531acc
cmp byte [ebx + 0x1e], 0
jne 0x531acc
push esi
call fcn.00511b70
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5319b8
sub eax, edx
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x10], edi
mov dword [esp + 0x28], eax
jle 0x531a15
mov edx, dword [esp + 0x24]
lea ecx, [edi + edi*4]
mov eax, dword [edx + ecx*4]
push esi
push eax
call fcn.00511c40
add esp, 8
test eax, eax
jne 0x531a0c
mov ecx, dword [esp + 0x28]
add ebp, 1
push ebp
push esi
push str._z:_d
push ebx
mov byte [ecx + esi], al
call fcn.0050d8d0
mov esi, eax
add esp, 0x10
or edi, 0xffffffff
test esi, esi
je 0x531a15
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x5319d1
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
xor eax, eax
push 0
push 0
mov dword [edi - 0x12], esi
mov esi, dword [esp + 0x34]
push 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x3c]
push esi
push ecx
mov dword [esp + 0x48], eax
call fcn.00531330
push eax
push ebx
call fcn.00511850
push esi
mov dword [edi - 0xa], eax
call fcn.005349c0
mov edx, dword [esp + 0x78]
push esi
push edx
mov byte [edi], al
call fcn.00534a50
add esp, 0x28
test eax, eax
je 0x531a95
mov eax, dword [eax]
push eax
push ebx
call fcn.00511850
add esp, 8
mov dword [edi - 6], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x14], 0xc
add edi, 0x14
add eax, 1
cmp eax, dword [ecx + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov edi, ecx
jl 0x531920
mov dword [edi + 0xc], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push esi
mov byte [ebx + 0x1e], 1
call fcn.0050dc90
push edi
call fcn.00520a60
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret