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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x140
mov edi, dword [esp + 0x158]
mov si, 0x1bb
cmp word [edi + 0x48], 0
je 0x436bf0
movzx esi, word [edi + 0x4a]
mov ebx, dword [esp + 0x154]
lea ecx, [esp + 0x5c]
mov edx, edi
push esi
push dword [esp + 0x164]
push dword [esp + 0x164]
call fcn.004370e0
add esp, 0xc
movsd xmm1, qword [esp + 0x68]
mov eax, dword [esp + 0xac]
movsd xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
movsd qword [esp + 0xc], xmm1
movsd xmm1, qword [esp + 0x78]
cmp eax, 3
movsd qword [esp + 4], xmm0
movsd qword [esp + 0x14], xmm2
movsd qword [esp + 0x1c], xmm1
jne 0x436d56
movsd xmm1, qword [esp + 0xc]
movsd xmm0, qword [esp + 4]
movsd xmm2, qword [esp + 0x14]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], esi
movsd qword [esp + 0x128], xmm1
movsd xmm1, qword [esp + 0x1c]
movsd qword [esp + 0x120], xmm0
movsd qword [esp + 0x130], xmm2
movsd qword [esp + 0x138], xmm1
mov esi, dword [eax + 0x4c]
mov edi, dword [eax + 0x48]
mov ebx, dword [esi + 8]
push 4
push 4
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4370b0
dec ebx
mov dword [eax], ebp
and ebx, 0xfffffff8
lea ecx, [ebx + edi + 8]
push 0x51c000
push eax
mov edi, dword [esp + 0x168]
push edi
mov ebp, dword [esp + 0x168]
push ebp
push ecx
lea eax, [esp + 0x70]
push eax
call dword [esi + 0x10]
add esp, 0x18
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x5c]
cmp eax, 3
jne 0x436de8
mov ebp, dword [esp + 0x60]
push 1
push 5
call fcn.0040dc80
add esp, 8
mov ebx, dword [esp + 0x154]
test eax, eax
je 0x4370b6
test edi, edi
mov byte [eax + 4], 0x73
mov dword [esp + 0x30], eax
mov dword [eax], 0x70747468
mov dword [esp + 0x34], ebp
je 0x436e28
setns al
js 0x4370d3
movzx ebp, al
push ebp
push edi
call fcn.0040dc80
add esp, 8
test eax, eax
jne 0x436e2d
push ebp
push edi
jmp 0x4370c9
movsd xmm0, qword [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
movsd xmm1, qword [esp + 0x88]
lea esi, [esp + 0xb0]
lea edi, [ebx + 0x58]
movsd qword [ebx + 0x48], xmm0
movsd xmm0, qword [esp + 0x98]
mov dword [ebx + 0x50], ecx
movsd qword [ebx + 0x30], xmm1
mov ecx, 0x1c
movsd qword [ebx + 0x40], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [ebx + 0x38], xmm0
movsd xmm0, qword [esp + 0x80]
movsd qword [ebx + 0x28], xmm0
rep movsd dword es:[edi], dword [esi]
movsd xmm1, qword [esp + 0x14]
movsd xmm0, qword [esp + 0x1c]
movsd xmm2, qword [esp + 4]
movsd qword [ebx + 0x18], xmm1
movsd xmm1, qword [esp + 0xc]
movsd qword [ebx + 0x20], xmm0
movsd qword [ebx + 8], xmm2
movsd qword [ebx + 0x10], xmm1
mov dword [ebx + 4], ebp
jmp 0x436e1a
mov ebx, dword [esp + 0x154]
mov ebp, esi
lea esi, [esp + 0x64]
mov ecx, 0x12
mov edx, dword [esp + 0x60]
lea edi, [ebx + 0xc]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xb0]
lea edi, [ebx + 0x58]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0x54], eax
mov dword [ebx], 1
jmp 0x43709f
mov eax, 1
push edi
push dword [esp + 0x160]
mov dword [esp + 0x34], eax
push eax
call fcn.004f5b80
add esp, 0xc
mov eax, dword [esp + 0x158]
mov ebp, dword [eax + 0x14]
jmp 0x436e52
pause
mov eax, dword [ebp + 4]
nop word cs:[eax + eax]
nop
cmp eax, 0xffffffff
je 0x436e50
test eax, eax
js 0x4370ac
lea ecx, [eax + 1]
lock cmpxchg dword [ebp + 4], ecx
jne 0x436e60
movsd xmm2, qword [esp + 0x74]
movsd xmm1, qword [esp + 0x6c]
movzx eax, word [esp + 0x44]
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x14], xmm1
movsd xmm2, qword [esp + 0x5c]
movsd xmm1, qword [esp + 0x64]
mov word [esp], ax
movzx eax, byte [esp + 0x46]
movsd qword [esp + 0x24], xmm0
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 4], xmm2
mov byte [esp + 2], al
push 4
push 8
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4370bc
mov edi, eax
mov dword [eax], esi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
push 1
push 0x2000
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4370c2
movaps xmm0, xmmword [0x51a6e0]
movsd xmm2, qword [esp + 0x120]
movsd xmm1, qword [esp + 0x128]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x51bf5c
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x5c]
movups xmmword [esp + 0x88], xmm0
movsd qword [esp + 0x5c], xmm2
movsd qword [esp + 0x64], xmm1
movsd xmm1, qword [esp + 0x130]
movsd xmm2, qword [esp + 0x138]
movsd qword [esp + 0x6c], xmm1
movsd qword [esp + 0x74], xmm2
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 5
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x160]
movsd xmm1, qword [esp + 0x24]
mov dword [esp + 0xa4], 5
movsd xmm2, qword [esp + 0x1c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
movsd qword [esp + 0xd4], xmm1
movsd xmm1, qword [esp + 0x14]
movsd qword [esp + 0xcc], xmm2
movsd xmm2, qword [esp + 4]
movzx eax, word [esp]
movsd qword [esp + 0xc4], xmm1
movsd xmm1, qword [esp + 0xc]
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0xbc], xmm1
mov byte [esp + 0xdc], 4
mov word [esp + 0xdd], ax
movzx eax, byte [esp + 2]
mov byte [esp + 0xdf], al
mov eax, dword [esp + 0x38]
mov word [esp + 0xe0], 1
mov word [esp + 0xe2], ax
mov eax, dword [0x57407c]
mov eax, dword [eax]
cmp eax, 4
jb 0x437087
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], 0x51c070
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x435fd0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 1
sub esp, 4
lea eax, [esp + 0x48]
push 0
push 0xc9
push 0x51c0d4
push 4
push eax
call fcn.004bc640
add esp, 0x18
lea eax, [ebx + 4]
push 0x88
push esi
push eax
call fcn.004f5b80
add esp, 0xc
mov dword [ebx], 0
mov eax, ebx
add esp, 0x140
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
push 4
push 4
jmp 0x4370c9
push 1
push 5
jmp 0x4370c9
push 4
push 8
jmp 0x4370c9
push 1
push 0x2000
call fcn.005062c0
add esp, 8
ud2
call fcn.004ccfb0
ud2