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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
mov ebp, dword [esp + 0x100]
movzx ebx, byte [esp + 0x108]
mov esi, dword [esp + 0x104]
cmp byte [ebp + 0x24d], 0
je 0x43f3b3
cmp word [esi + 0x68], 0x1f
jne 0x43f626
movzx eax, word [esi]
mov word [ebp + 0x214], ax
jmp 0x43f868
lea edx, [esp + 0x6c]
mov ecx, 0x20
test bl, bl
mov edi, edx
je 0x43f6d7
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00443ed0
add esp, 8
mov eax, dword [ebp + 0x230]
test eax, eax
mov dword [esp + 8], eax
je 0x43f873
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x24], eax
je 0x43f840
movzx eax, byte [esp + 0x38]
movzx edx, byte [esp + 0x39]
movss xmm0, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
lea ecx, [ebp + 0x68]
mov dword [esp + 4], ecx
mov byte [esp + 3], al
mov byte [esp + 0x5c], dl
movups xmmword [esp + 0x4c], xmm0
jmp 0x43f470
add ecx, dword [ebp + 0x70]
mov edx, 0
mov edi, dword [ebp + 0x6c]
cmp ecx, eax
cmovb eax, edx
mov edx, dword [esp + 0x74]
sub ecx, eax
lea ecx, [ecx + ecx*2]
mov dword [edi + ecx*4 + 8], edx
movsd xmm0, qword [esp + 0x6c]
movsd qword [edi + ecx*4], xmm0
inc dword [ebp + 0x74]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x100]
add ebx, eax
sub esi, eax
je 0x43f840
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 4]
movups xmm0, xmmword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
cmp esi, eax
mov edi, eax
mov eax, dword [ebp]
mov edx, ecx
cmovb edi, esi
not edx
mov dword [esp + 0x40], edi
mov dword [esp + 0xc], edi
movss dword [esp + 0x44], xmm0
mov ebp, eax
xor ebp, 0xffff0000
or ebp, edx
movzx edx, byte [esp + 3]
mov dh, byte [esp + 0x5c]
mov byte [esp + 0x48], dl
mov byte [esp + 0x49], dh
jne 0x43f560
mov eax, dword [0x57407c]
lea ebp, [esp + 0x6c]
mov eax, dword [eax]
cmp eax, 4
jb 0x43f522
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x51c870
mov dword [esp + 0x74], 0x51c83c
mov dword [esp + 0x78], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], fcn.0045ac20
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 1
sub esp, 4
push 0
push 0x1ec
push 0x51c858
push 4
push ebp
call fcn.004bc640
add esp, 0x18
mov edi, dword [esp + 0x100]
xor eax, eax
mov word [esp + 0xe8], 4
mov byte [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
mov word [esp + 0xd4], 0x1f
cmp byte [edi + 0x28], 2
sete al
push eax
push ebp
push edi
call fcn.0043f370
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, 0xfffffffd
mov edi, 0xffffffff
cmp edx, eax
sbb edi, ecx
jb 0x43f45b
mov edi, dword [esp + 0x100]
mov edx, eax
mov ebp, ecx
add edx, 1
adc ebp, 0
mov dword [edi + 4], ebp
mov dword [edi], edx
mov ebp, edi
mov edx, dword [edi + 0x14]
push ecx
push eax
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x10]
lea edi, [esp + 0x7c]
push edi
call dword [edx + 0x10]
add esp, 0x14
cmp dword [esp + 0x6c], 0
jne 0x43f873
lea ecx, [esp + 0x70]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
push eax
push edi
call fcn.00443d20
add esp, 8
cmp dword [esp + 0x74], 0
je 0x43f606
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x74]
cmp ecx, eax
jne 0x43f430
mov ecx, dword [esp + 4]
call fcn.00447940
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x74]
jmp 0x43f430
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x43f45b
push 1
push eax
push dword [esp + 0x78]
call fcn.0040dc90
add esp, 0xc
jmp 0x43f45b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
push eax
push esi
call fcn.00443730
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x80]
movsd xmm0, qword [esp + 0x10]
mov dword [esp + 0x77], eax
mov eax, dword [ebp + 0x8c]
movsd qword [esp + 0x6f], xmm0
cmp eax, ecx
jne 0x43f687
lea ecx, [ebp + 0x80]
call fcn.004479c0
mov ecx, dword [ebp + 0x80]
mov eax, dword [ebp + 0x8c]
add eax, dword [ebp + 0x88]
xor edx, edx
cmp eax, ecx
cmovae edx, ecx
sub eax, edx
mov edx, dword [ebp + 0x84]
shl eax, 4
mov byte [edx + eax], bl
movsd xmm0, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x73]
movsd qword [edx + eax + 1], xmm0
movsd qword [edx + eax + 8], xmm1
inc dword [ebp + 0x8c]
cmp word [esi + 0x68], 0x1f
je 0x43f868
mov ecx, esi
call fcn.00424050
jmp 0x43f868
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00443ed0
add esp, 8
mov eax, dword [ebp + 0x230]
test eax, eax
mov dword [esp + 0xc], eax
je 0x43f873
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test ebx, ebx
mov dword [esp + 4], eax
je 0x43f851
movzx eax, byte [esp + 0x20]
movss xmm0, dword [esp + 0x1c]
mov esi, dword [esp + 4]
mov byte [esp + 8], al
movzx eax, byte [esp + 0x21]
movups xmmword [esp + 0x5c], xmm0
mov byte [esp + 3], al
mov eax, dword [esp + 0x100]
add eax, 0x68
mov dword [esp + 0x4c], eax
jmp 0x43f775
add ecx, dword [edi + 0x70]
mov edx, 0
cmp ecx, eax
cmovb eax, edx
mov edx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [edi + 0x6c]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*4 + 8], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [eax + ecx*4], xmm0
inc dword [edi + 0x74]
add esi, ebp
test ebx, ebx
je 0x43f851
mov ebp, dword [esp + 0xc]
cmp ebx, ebp
cmovb ebp, ebx
test ebp, ebp
je 0x43f7a0
js 0x43f877
push 1
push ebp
call fcn.0040dc80
add esp, 8
mov edi, eax
test eax, eax
jne 0x43f7a5
jmp 0x43f87e
mov edi, 1
sub ebx, ebp
push ebp
push esi
push edi
call fcn.004f5b80
add esp, 0xc
movzx eax, byte [esp + 8]
movups xmm0, xmmword [esp + 0x5c]
mov byte [esp + 0x7c], al
movzx eax, byte [esp + 3]
mov byte [esp + 0x7d], al
lea eax, [esp + 0x6c]
movss dword [esp + 0x78], xmm0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebp
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00443d20
add esp, 8
cmp dword [esp + 0x30], 0
je 0x43f820
mov edi, dword [esp + 0x100]
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jne 0x43f740
mov ecx, dword [esp + 0x4c]
call fcn.00447940
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x74]
jmp 0x43f740
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f76b
push 1
push eax
push dword [esp + 0x34]
call fcn.0040dc90
add esp, 0xc
jmp 0x43f76b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43f868
push 1
push eax
push dword [esp + 0x2c]
jmp 0x43f860
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43f868
push 1
push eax
push dword [esp + 0xc]
call fcn.0040dc90
add esp, 0xc
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
call fcn.004ccfb0
ud2
push 1
push ebp
call fcn.005062c0
add esp, 8
ud2