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

Disassembly:
push 0xffffffffffffffff
push 0x46ffc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
xor edi, edi
cmp esi, edi
mov ebx, ecx
mov dword [esp + 0x24], esi
jne 0x430517
mov eax, dword [ebx + 0xa38]
lea ecx, [ebx + 0xa38]
call dword [eax + 0xf4]
cmp eax, edi
mov dword [esp + 0x24], eax
jne 0x430513
xor al, al
jmp 0x4309b8
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x9b8]
cmp eax, 2
jle 0x43052f
mov ecx, dword [ebx + 0x9b4]
mov ebp, dword [ecx + 8]
cmp ebp, edi
jne 0x430536
xor al, al
jmp 0x4309b8
mov edx, dword [ebp]
lea eax, [ebx + 0x9f0]
push eax
mov ecx, ebp
call dword [edx + 0x1c]
mov dword [esp + 0x38], vtable.org::CBuffer.0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0xc4], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x38]
push ecx
push esi
push eax
call fcn.0041b070
mov eax, dword [esp + 0x4c]
xor edi, edi
add esp, 0xc
cmp eax, edi
jbe 0x430814
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], vtable.org::CBuffer.0
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call dword [0x473918]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edx, 0x488b8c
mov byte [esp + 0xc4], 2
test edx, edx
mov dword [esp + 0x2c], vtable.org::CString.0
je 0x4305dd
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [0x473814]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0xcc], 3
mov dword [esp + 0x58], edi
call fcn.0041b380
mov ecx, dword [esp + 0x48]
xor eax, eax
add esp, 8
cmp ecx, eax
mov dword [esp + 0x28], eax
jbe 0x4306e8
jmp 0x430615
xor eax, eax
xor edx, edx
mov dword [esp + 0x18], eax
mov dl, byte [edi]
mov dword [esp + 0x1c], eax
mov cl, byte [edx + 0x493721]
and cl, 4
neg cl
sbb ecx, ecx
neg ecx
inc ecx
mov esi, ecx
mov dword [esp + 0x10], esi
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x18], vtable.org::CString.0
call dword [0x4737a8]
test al, al
je 0x430672
mov ecx, esi
mov esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x50]
mov esi, edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 5
call dword [edx + 0xa8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0xc4], 3
test eax, eax
mov dword [esp + 0x14], vtable.org::CBuffer.0
je 0x4306ae
push eax
call fcn.00461db1
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 0x68]
mov edx, dword [esp + 0x2c]
push 0x488b8c
lea ecx, [esp + 0x30]
call dword [edx + 0xa4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
add eax, esi
add edi, esi
cmp eax, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], eax
jb 0x430613
mov ecx, dword [ebx + 0xa34]
lea esi, [ebx + 0x9f0]
mov eax, ecx
and ecx, 8
and eax, 0x10
lea edi, [esp + 0x74]
shl eax, 1
or eax, ecx
mov ecx, 0x12
shl eax, 1
rep movsd dword es:[edi], dword [esi]
or al, 0x2b
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
mov dword [esp + 0x78], 0x1c
call dword [eax + 0x1c]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x4c]
mov esi, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x50]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push ecx
push edx
mov edx, dword [esp + 0x34]
mov edi, 0x10
mov dword [esp + 0x24], esi
mov esi, dword [ebp]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [edx + 0xf4]
push eax
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
call dword [esi + 0x30]
mov edx, dword [ebp]
lea eax, [ebx + 0x9f0]
push eax
mov ecx, ebp
call dword [edx + 0x1c]
lea eax, [esp + 0x64]
mov ecx, ebx
push eax
mov byte [ebx + 0x9ec], 0
call fcn.00431070
push 2
lea ecx, [ebx + 0x988]
call fcn.004364c0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov esi, vtable.org::CBuffer.0
mov byte [esp + 0xc4], 1
lea eax, [edx + ecx + 2]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4307db
push eax
call fcn.00461db1
add esp, 4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [edx + 0x68]
mov eax, dword [esp + 0x48]
mov byte [esp + 0xc4], 0
test eax, eax
mov dword [esp + 0x44], esi
je 0x430803
push eax
call fcn.00461db1
add esp, 4
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [eax + 0x68]
mov esi, dword [esp + 0x24]
jmp 0x430819
mov edi, 0x10
mov ecx, dword [ebx + 0x9fc]
mov edx, dword [ebx + 0x9f4]
add ecx, edx
mov edx, dword [ebx + 0x9f0]
mov dword [ebx + 0xa4c], edi
mov byte [ebx + 0x9ec], 1
lea eax, [ecx + edx + 0x10]
mov dword [esp + 0x28], eax
mov dword [ebx + 0xa50], eax
mov eax, dword [esp + 0xd0]
mov dword [ebx + 0xa44], eax
test eax, eax
mov eax, dword [ebx + 0xa34]
mov edi, eax
jne 0x4308ea
and edi, 0x10
and eax, 8
shl edi, 1
or edi, eax
mov eax, dword [ebp]
shl edi, 1
mov ecx, ebp
or edi, 0x2b
call dword [eax + 0x4c]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x10], eax
call dword [edx + 0x50]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push edi
mov dword [esp + 0x1c], ecx
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
push ecx
lea ecx, [esp + 0x60]
push esi
push ecx
mov ecx, ebp
mov dword [esp + 0x28], 0x10
call dword [edx + 0x30]
lea edx, [esp + 0x54]
mov ecx, ebx
push edx
call fcn.00431070
push 2
lea ecx, [ebx + 0x988]
call fcn.004364c0
mov byte [ebx + 0xa4a], 2
jmp 0x430987
and edi, 0x10
and eax, 8
shl edi, 1
or edi, eax
mov eax, dword [ebp]
shl edi, 1
mov ecx, ebp
or edi, 0x2b
call dword [eax + 0x4c]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x10], eax
call dword [edx + 0x50]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push edi
mov dword [esp + 0x1c], ecx
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
push ecx
lea ecx, [esp + 0x60]
push esi
push ecx
mov ecx, ebp
mov dword [esp + 0x28], 0x10
call dword [edx + 0x30]
mov ecx, dword [eax]
lea edx, [ebx + 0xa5c]
mov dword [ebx + 0xa5c], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call dword [0x4735c4]
mov dword [ebx + 0xa54], eax
mov dword [ebx + 0xa58], 0
mov byte [ebx + 0xa4a], 1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc4], 0xffffffff
test eax, eax
mov dword [esp + 0x38], vtable.org::CBuffer.0
je 0x4309ab
push eax
call fcn.00461db1
add esp, 4
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [edx + 0x68]
mov al, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 8