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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x88]
cmp ecx, eax
push edi
jge 0x4346c0
lea esi, [ecx + ecx*4]
shl esi, 2
sub eax, ecx
mov edi, eax
mov edx, dword [ebx + 0x78]
mov eax, esi
add eax, edx
cmp dword [eax + 8], 4
jbe 0x434591
mov eax, dword [eax + 0x10]
test eax, eax
je 0x434591
push eax
call fcn.005133ec
add esp, 4
add esi, 0x14
dec edi
jne 0x434574
mov ebp, dword [ebx + 0x88]
xor edi, edi
cmp ebp, edi
jne 0x4345c4
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x4345b6
push eax
call fcn.005133ec
add esp, 4
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x7c], edi
jmp 0x4346c0
mov ecx, dword [ebx + 0x78]
cmp ecx, edi
jne 0x4345f3
lea eax, [ebp + ebp*4]
shl eax, 2
push eax
call fcn.00513446
add esp, 4
mov dword [ebx + 0x78], eax
push ebp
push eax
call fcn.00434ba0
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x7c], ebp
jmp 0x4346c0
mov esi, dword [ebx + 0x80]
cmp ebp, esi
jg 0x43461d
mov eax, dword [ebx + 0x7c]
cmp ebp, eax
jle 0x434615
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*4]
push ecx
call fcn.00434ba0
mov dword [ebx + 0x7c], ebp
jmp 0x4346c0
mov eax, dword [ebx + 0x84]
cmp eax, edi
jne 0x43464b
mov eax, dword [ebx + 0x7c]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x43463f
mov eax, 4
jmp 0x43464b
cmp eax, 0x400
jle 0x43464b
mov eax, 0x400
add eax, esi
cmp ebp, eax
jge 0x434657
mov dword [esp + 0x10], eax
jmp 0x43465d
mov dword [esp + 0x10], ebp
mov eax, ebp
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.00513446
mov ecx, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x78]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x14], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x7c]
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00434ba0
mov eax, dword [ebx + 0x78]
push eax
call fcn.005133ec
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], ebp
mov dword [ebx + 0x80], edx
mov edi, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x54]
cmp edi, eax
jl 0x434724
xor ebp, ebp
xor esi, esi
mov edx, dword [ebx + 0x78]
mov eax, esi
add eax, edx
cmp dword [eax + 8], 4
jbe 0x4346eb
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4346eb
push eax
call fcn.005133ec
add esp, 4
inc ebp
add esi, 0x14
cmp ebp, edi
je 0x4346fe
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + eax]
test ch, 1
je 0x4346ce
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
sub eax, ebp
je 0x434721
lea edx, [eax + eax*4]
lea eax, [ebp + ebp*4]
shl edx, 2
push edx
lea edx, [ecx + eax*4]
push edx
push ecx
call dword [0x571284]
add esp, 0xc
sub dword [ebx + 0x7c], ebp
xor eax, eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x94]
test edx, edx
mov edx, dword [esp + 0x40]
setne cl
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
je 0x43476e
mov eax, ecx
mov dword [ebx + 0x94], 0
or ah, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
cmp esi, 4
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
ja 0x43479a
mov ecx, esi
mov esi, dword [esp + 0x38]
mov edx, ecx
lea edi, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4347b8
push esi
call fcn.00513446
mov ecx, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov edi, eax
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0xffffffffffffffff
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x7c]
lea esi, [ebx + 0x74]
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.00434850
mov eax, dword [esi + 4]
lea edx, [edi + edi*4]
mov ecx, 5
lea esi, [esp + 0x18]
lea edi, [eax + edx*4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x7c]
pop edi
pop esi
mov dword [ebx + 0x88], ecx
pop ebp
pop ebx
add esp, 0x1c
ret 0x14