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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x58]
push ebx
mov edx, dword [esp + 0x6c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
lea ecx, [edi + 2]
mov ebx, dword [esi + edx*4 - 4]
mov dword [esp + 0x10], ecx
lea ebp, [eax + ecx*4]
lea ecx, [edi + edx]
lea ecx, [eax + ecx*4 + 8]
mov dword [ebp + edx*4 - 4], 0
mov dword [esp + 0x18], ecx
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov dword [ebp], 0
lea ebx, [ebp + ecx*4]
cmp ebx, esi
je 0x43f721
mov edi, dword [esp + 0x24]
mov ecx, edx
sub ecx, edi
mov edi, ebx
shl ecx, 2
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x70]
mov ecx, dword [ebp + edx*4 - 4]
test ecx, ecx
jne 0x43f72d
xor esi, esi
jmp 0x43f75b
xor ecx, ecx
mov esi, 0x20
mov dword [esp + 0x74], ecx
mov ebx, dword [ebp + edx*4 - 4]
add ecx, esi
shr ecx, 1
shr ebx, cl
test ebx, ebx
je 0x43f74c
mov dword [esp + 0x74], ecx
jmp 0x43f752
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov ebx, esi
sub ebx, ecx
cmp ebx, 1
ja 0x43f738
mov ebx, 0x20
mov dword [esp + 0x1c], 0
sub ebx, esi
mov dword [esp + 0x28], ebx
je 0x43f7b6
test edx, edx
jbe 0x43f7b6
mov eax, 0x20
mov esi, ebp
sub eax, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], eax
mov eax, dword [esi]
mov ecx, ebx
mov edi, eax
add esi, 4
shl edi, cl
mov ecx, dword [esp + 0x1c]
or edi, ecx
mov ecx, dword [esp + 0x74]
shr eax, cl
mov dword [esi - 4], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x43f785
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
lea ecx, [edi*4]
mov dword [eax + edi*4 + 4], 0
lea esi, [eax + esi*4]
mov dword [ecx + eax], 0
cmp esi, dword [esp + 0x6c]
mov dword [eax], 0
mov dword [esp + 0x20], esi
je 0x43f801
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x20]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x68]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x70]
test ebx, ebx
mov dword [esp + 0x6c], 0
je 0x43f85b
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe 0x43f85b
mov ecx, 0x20
mov esi, eax
sub ecx, ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov eax, dword [esi]
mov ecx, ebx
mov edi, eax
add esi, 4
shl edi, cl
mov ecx, dword [esp + 0x6c]
or edi, ecx
mov ecx, dword [esp + 0x74]
shr eax, cl
mov dword [esi - 4], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x43f82a
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov ecx, dword [eax + edi*4 + 4]
test ecx, ecx
jne 0x43f90c
cmp dword [eax + edi*4], 1
ja 0x43f90c
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, edi
sub ebx, edx
lea edi, [eax + ebx*4]
mov dword [esi + ebx*4], 0
mov dword [esi + ebx*4 + 4], 0
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x70]
lea eax, [ecx*4]
mov ecx, dword [esp + 0x68]
cmp dword [eax + ecx], 0
jne 0x43f8e4
lea eax, [edx - 1]
test edx, edx
mov dword [esp + 0x6c], eax
je 0x43f8e4
sub edi, ebp
lea eax, [ebp + eax*4]
mov dword [esp + 0x74], edi
jmp 0x43f8c3
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + eax]
mov edi, dword [eax]
cmp ecx, edi
ja 0x43f8e0
jb 0x43f912
mov ecx, dword [esp + 0x6c]
sub eax, 4
mov edi, ecx
dec ecx
test edi, edi
mov dword [esp + 0x6c], ecx
jne 0x43f8bf
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
push ebp
push edi
mov edx, edi
call fcn.00436480
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
shl edx, 2
sub dword [edx + ecx], eax
mov eax, dword [esi + ebx*4]
mov edx, dword [esp + 0x78]
inc eax
mov dword [esi + ebx*4], eax
jmp 0x43f893
mov esi, dword [esp + 0x10]
jmp 0x43f91a
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + edx*4 - 8]
mov edi, dword [ebp + edx*4 - 4]
inc ecx
mov eax, 0
sete al
add eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea eax, [esi - 2]
cmp eax, edx
jb 0x43fad0
mov edi, dword [esp + 0x18]
lea esi, [edx + 2]
lea esi, [edi + esi*4]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x68]
lea ebx, [esi + eax*4 + 4]
sub eax, edx
mov esi, 0xfffffffc
add eax, 2
sub esi, edi
shr eax, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], eax
jmp 0x43f97e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esi, ebx
lea eax, [edx*4]
mov edx, dword [ebx - 4]
mov edi, esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
sub edi, eax
mov eax, dword [ebx]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx - 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [ebx - 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00446d70
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [edi + ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [edi + ecx + 4], eax
mov eax, esi
shl edx, 2
sub eax, edx
sub esi, edx
mov edx, dword [esp + 0x38]
lea edi, [eax + ecx]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x7c]
push ecx
push ebp
add esi, eax
mov eax, dword [esp + 0x34]
push 2
push edi
push edx
push eax
call fcn.0043f1f0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0xa4]
add esp, 0x2c
mov edx, esi
push ecx
push esi
lea ecx, [eax + 2]
call fcn.00436480
mov ecx, dword [esp + 0x78]
lea eax, [ecx*4]
cmp dword [eax + esi], 0
jne 0x43fa80
mov ecx, dword [esp + 0x78]
test ecx, ecx
lea eax, [ecx - 1]
mov dword [esp + 0x70], eax
je 0x43fa84
mov ecx, esi
lea eax, [ebp + eax*4]
sub ecx, ebp
mov dword [esp + 0x1c], ecx
jmp 0x43fa63
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax]
mov edx, dword [eax]
cmp ecx, edx
ja 0x43fa80
jb 0x43fab6
mov ecx, dword [esp + 0x70]
sub eax, 4
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x70], ecx
jne 0x43fa5f
mov ecx, dword [esp + 0x78]
push ebp
push esi
mov edx, esi
call fcn.00436480
mov ecx, dword [esp + 0x78]
shl ecx, 2
mov edx, dword [ecx + esi]
sub edx, eax
mov dword [ecx + esi], edx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
inc ecx
mov edx, 0
mov dword [edi], ecx
sete dl
add eax, edx
mov dword [edi + 4], eax
jmp 0x43fa31
mov eax, dword [esp + 0x6c]
add ebx, 0xfffffff8
dec eax
mov dword [esp + 0x6c], eax
jne 0x43f972
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
cmp eax, esi
je 0x43faf3
lea ecx, [edx*4]
mov edi, eax
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ebp, ebp
test ebx, ebx
je 0x43fb2d
test edx, edx
jbe 0x43fb2d
mov edi, 0x20
lea esi, [eax + edx*4 - 4]
sub edi, ebx
mov dword [esp + 0x78], edx
mov eax, dword [esi]
mov ecx, ebx
mov edx, eax
sub esi, 4
shr edx, cl
mov ecx, edi
shl eax, cl
or edx, ebp
mov dword [esi + 4], edx
mov ebp, eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x43fb0c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret