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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov ebx, edx
mov edx, dword [edx]
lea esi, [esp + 0x78]
mov dword [esp + 0x24], ecx
mov ecx, esi
add edx, 8
call fcn.004106a4
mov ecx, esi
mov edx, 0x4b9638
call fcn.004376a9
mov byte [esp + 7], dl
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
lea esi, [esp + 0xc]
mov edi, eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov edx, dword [ebx + 0xc]
lea ecx, [edi + 0x128]
lea ebx, [esp + 0x78]
mov dword [esi], ecx
mov ecx, ebx
add edx, 8
call fcn.00421e86
mov ecx, ebx
mov edx, 0x4b9648
call fcn.004376e1
mov ecx, esi
mov dword [esp + 0x1c], eax
mov byte [esp + 6], dl
call fcn.0041109a
mov eax, dword [eax + 0x18]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0041109a
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x439abb
mov ecx, dword [ebp + 8]
mov dl, byte [ebp + 0xc]
lea esi, [edi + 0x170]
movsd xmm0, qword [ecx + 0x10]
movsd xmm1, qword [ecx]
movsd xmm2, qword [ecx + 8]
lea ecx, [esp + 0x28]
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm2
movsd qword [ecx], xmm1
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1c], 0
mov byte [ecx + 0x1e], dl
call fcn.00439b09
test eax, eax
js 0x43993b
lea ecx, [esp + 0xc]
mov ebx, eax
call fcn.0041109a
lea ecx, [eax + 0x20]
call fcn.0041231f
test al, al
je 0x43993f
mov dword [esp + 0x18], esi
lea esi, [esp + 0xc]
lea eax, [edi + 0xc0]
mov ecx, esi
mov dword [esp + 8], eax
call fcn.00411082
add dword [eax + 0xd8], ebx
mov dword [esp + 0x60], 2
and dword [esp + 0x70], 0
mov ecx, esi
call fcn.0041109a
mov ebx, dword [eax + 0xd4]
mov ecx, esi
call fcn.0041109a
cmp ebx, dword [eax + 0xd8]
jae 0x4398f3
lea esi, [esp + 0xc]
mov ecx, esi
call fcn.0041109a
mov ebx, dword [eax + 0xd8]
mov ecx, esi
call fcn.00411082
mov ecx, dword [esp + 8]
mov edx, esi
mov dword [eax + 0xd4], ebx
call fcn.00412345
cmp byte [ebp + 0xc], 0
mov esi, dword [esp + 0x18]
je 0x439987
lea ecx, [esp + 0xc]
call fcn.00411082
mov ebx, eax
lea ecx, [eax + 0x20]
mov al, byte [eax + 0x20]
add al, 0xfa
movzx edx, al
cmp al, 6
push 6
pop eax
cmovb eax, edx
cmp al, 3
je 0x43995d
movzx eax, al
cmp eax, 5
jne 0x439ad0
mov ebx, ecx
call fcn.00410f05
mov byte [ebx], 3
jmp 0x439974
mov bl, 2
jmp 0x43994f
lea ecx, [esp + 0xc]
call fcn.0041109a
cmp byte [eax + 0x20], 6
setae bl
lea ecx, [esp + 0x28]
call fcn.004367fc
jmp 0x439a6d
mov al, byte [ebx + 0x22]
mov byte [esp + 5], al
call fcn.00410f05
mov al, byte [esp + 5]
mov byte [ebx + 0x20], 0xa
mov byte [ebx + 0x21], al
mov ecx, dword [esp + 8]
xor edx, edx
push esi
lea eax, [esp + 0x10]
push eax
call fcn.0041796c
pop eax
pop ecx
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0xc]
mov ecx, ebx
lea esi, [eax + 8]
call fcn.0041109a
cmp dword [eax + 0x3c], 0
jle 0x4399e9
movsd xmm1, qword [esp + 0x38]
lea edx, [esp + 0x78]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x28]
mov ecx, dword [esp + 8]
lea eax, [edi + 0xb0]
movsd qword [edx + 0x18], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [edx + 0x20], xmm0
movsd qword [edx + 8], xmm2
movsd qword [edx + 0x10], xmm1
mov byte [edx], 0
push eax
push ebx
push esi
call fcn.004379d5
add esp, 0xc
jmp 0x439a55
lea ecx, [esp + 0xc]
call fcn.0041109a
cmp dword [eax + 0xd8], 0
je 0x43999f
lea ecx, [esp + 0xc]
call fcn.00411082
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x28]
lea ecx, [eax + 0x64]
lea eax, [esp + 0x78]
mov edx, esi
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
mov byte [esp + 0x78], 0
push eax
call fcn.00437a2b
pop eax
lea esi, [esp + 0x58]
mov ecx, esi
call fcn.0041230e
mov ecx, esi
call fcn.00437a9f
mov esi, dword [esp + 0x18]
mov bl, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0x3b9aca00
mov ecx, esi
lea edx, [esp + 0xc]
setne al
push eax
call fcn.004112ed
pop eax
movzx edx, byte [esp + 6]
mov ecx, dword [esp + 0x1c]
call fcn.0042b7d4
movzx edx, byte [esp + 7]
mov ecx, edi
call fcn.0042b7d4
mov ecx, dword [esp + 0x24]
mov al, 5
cmp bl, 0xc
je 0x439ab1
mov al, 3
mov byte [ecx + 1], bl
mov byte [ecx], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x26
pop edx
mov ecx, str.assertion_failed:__stream_id.is_zero__
push 0x4b9030
call fcn.00493be0
pop eax
ud2
lea eax, [esp + 0x4c]
lea edx, [esp + 0x50]
mov dword [eax], ecx
mov dword [edx], eax
xor eax, eax
lea ecx, [esp + 0x78]
mov dword [edx + 4], 0x4108ac
inc eax
mov dword [ecx], 0x4a44b8
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x4a44c0
mov dword [ecx + 0xc], eax
call fcn.00493a60
ud2