Function at 0x4b3940
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.0042ec6a
mov ecx, esi
mov edx, 0x61f4b0
call fcn.004b2b7c
mov byte [esp + 5], dl
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
lea esi, [esp + 8]
mov edi, eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov edx, dword [ebx + 0xc]
lea ecx, [edi + 0x158]
lea ebx, [esp + 0x78]
mov dword [esi], ecx
mov ecx, ebx
add edx, 8
call fcn.00422fc5
mov ecx, ebx
mov edx, 0x61f4c0
call fcn.004b2baf
mov ecx, esi
mov dword [esp + 0x1c], eax
mov byte [esp + 7], dl
call fcn.00434c93
mov eax, dword [eax + 0x18]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00434c93
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x4b3ca0
mov ecx, dword [ebp + 8]
mov dl, byte [ebp + 0xc]
lea esi, [edi + 8]
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.004b3ce9
test eax, eax
js 0x4b3b1a
lea ecx, [esp + 8]
mov ebx, eax
call fcn.00434c93
mov dl, byte [eax + 0x20]
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
push 6
pop edx
cmovae ecx, edx
cmp cl, 5
je 0x4b3a45
movzx ecx, cl
cmp ecx, 3
jne 0x4b3b1e
cmp byte [eax + 0x21], 0
je 0x4b3b1e
mov dword [esp + 0x18], esi
lea esi, [esp + 8]
lea eax, [edi + 0xf0]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00434d04
add dword [eax + 0xd8], ebx
mov dword [esp + 0x60], 2
and dword [esp + 0x70], 0
mov ecx, esi
call fcn.00434c93
mov ebx, dword [eax + 0xd4]
mov ecx, esi
call fcn.00434c93
cmp ebx, dword [eax + 0xd8]
jae 0x4b3ad2
lea esi, [esp + 8]
mov ecx, esi
call fcn.00434c93
mov ebx, dword [eax + 0xd8]
mov ecx, esi
call fcn.00434d04
mov ecx, esi
mov dword [eax + 0xd4], ebx
call fcn.00434c93
cmp byte [eax + 0xe4], 0
jne 0x4b3ad2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 8]
call fcn.004356bd
cmp byte [ebp + 0xc], 0
mov esi, dword [esp + 0x18]
je 0x4b3b6a
lea ecx, [esp + 8]
call fcn.00434d04
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 0x4b3b40
movzx eax, al
cmp eax, 5
jne 0x4b3cb2
mov ebx, ecx
call fcn.00430745
mov byte [ebx], 3
jmp 0x4b3b57
mov bl, 2
jmp 0x4b3b2e
lea ecx, [esp + 8]
call fcn.00434c93
cmp byte [eax + 0x20], 6
setae bl
lea ecx, [esp + 0x28]
call fcn.004b2b10
mov bh, byte [esp + 5]
jmp 0x4b3c54
mov al, byte [ebx + 0x22]
mov byte [esp + 6], al
call fcn.00430745
mov al, byte [esp + 6]
mov byte [ebx + 0x20], 0xa
mov byte [ebx + 0x21], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
xor edx, edx
push esi
push eax
call fcn.00435b10
pop eax
pop ecx
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 8]
mov ecx, ebx
lea esi, [eax + 8]
call fcn.00434c93
cmp dword [eax + 0x3c], 0
jle 0x4b3bcc
movsd xmm1, qword [esp + 0x38]
lea edx, [esp + 0x78]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0xe0]
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.004b2df5
add esp, 0xc
jmp 0x4b3c38
lea ecx, [esp + 8]
call fcn.00434c93
cmp dword [eax + 0xd8], 0
je 0x4b3b82
lea ecx, [esp + 8]
call fcn.00434d04
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.004b2e4b
pop eax
mov bh, byte [esp + 5]
lea esi, [esp + 0x58]
mov ecx, esi
call fcn.00431a47
mov ecx, esi
call fcn.00431a58
mov esi, dword [esp + 0x18]
mov bl, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0x3b9aca00
mov ecx, esi
lea edx, [esp + 8]
setne al
push eax
call fcn.00434e1a
pop eax
movzx edx, byte [esp + 7]
mov ecx, dword [esp + 0x1c]
call fcn.0051059e
movzx edx, bh
mov ecx, edi
call fcn.0051059e
mov ecx, dword [esp + 0x24]
mov al, 5
cmp bl, 0xc
je 0x4b3c96
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 0x61eebc
call fcn.0059ef30
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], 0x42ef60
inc eax
mov dword [ecx], 0x5ba748
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x5ba750
mov dword [ecx + 0xc], eax
call fcn.0059ede0