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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x9e0
mov esi, dword [edx]
mov ebx, dword [edx + 8]
mov edi, ecx
xor eax, eax
mov dword [esp + 0x28], 4
lea ecx, [esp + 0x2d0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edx, esi
push ebx
call fcn.005bfad0
add esp, 4
lea eax, [esp + 0x2d0]
mov eax, dword [eax]
cmp eax, 2
jne 0x438c1a
lea ecx, [esp + 0x2d8]
mov eax, dword [ecx - 4]
mov edx, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov edx, esi
push ebx
call fcn.005b23e0
add esp, 4
lea eax, [esp + 0x2d8]
mov byte [eax + 0x14], 0x19
movsd xmm2, qword [eax + 8]
movsd xmm0, qword [eax + 0x10]
movsd xmm1, qword [eax]
mov eax, dword [esp + 8]
movsd qword [esp + 0x538], xmm2
movsd qword [esp + 0x530], xmm1
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
movsd qword [esp + 0x540], xmm0
movsd qword [esp + 0x88], xmm0
movsd xmm1, qword [esp + 0x538]
movsd xmm0, qword [esp + 0x530]
mov dword [edi], eax
movsd qword [edi + 0x10], xmm1
movsd xmm1, qword [esp + 0x540]
movsd qword [edi + 8], xmm0
movsd qword [edi + 0x18], xmm1
jmp 0x439085
lea esi, [esp + 0x2dc]
mov dword [esp + 0x14], edi
lea ebx, [esp + 0x784]
mov ecx, dword [esi - 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi - 4]
mov dword [esp + 8], ecx
mov ecx, 0x250
push ecx
push esi
push ebx
mov dword [esp + 0x30], eax
call fcn.0064a810
add esp, 0xc
mov eax, 0x250
lea edi, [esp + 0x78]
push eax
push ebx
push edi
call fcn.0064a810
add esp, 0xc
mov eax, 0x250
lea ecx, [esp + 0x530]
push eax
mov ebx, 0x250
push edi
push ecx
mov edi, ecx
call fcn.0064a810
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 8]
mov dword [esi - 4], eax
mov eax, dword [esp + 0xc]
mov dword [esi - 8], eax
push ebx
push edi
push esi
call fcn.0064a810
add esp, 0xc
lea ecx, [esp + 0x784]
lea edx, [esp + 0x2d0]
call fcn.005ae0d0
cmp dword [esp + 0x784], 0
je 0x438f6f
mov ebx, dword [esp + 0x788]
mov esi, dword [esp + 0x78c]
mov edi, dword [esp + 0x790]
test ebx, ebx
je 0x438f99
push 0x248
lea eax, [esp + 0x798]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0064a810
add esp, 0xc
lea ecx, [esp + 0x34]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], esi
call fcn.005ae3b0
mov eax, dword [esp + 0x78]
lock dec dword [eax]
jne 0x438d29
mov ecx, dword [esp + 0x78]
call fcn.0060319f
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x58]
mov edx, esi
push edi
call fcn.00439096
add esp, 4
cmp byte [esp + 0x74], 0x20
jne 0x438f39
mov bl, byte [esp + 0x58]
mov ecx, edi
call fcn.0059c336
mov ecx, edi
mov edi, eax
mov dword [esp + 8], edx
mov dword [esp + 0x24], ecx
push ecx
push esi
push eax
call fcn.0064a810
add esp, 0xc
test bl, bl
mov al, byte [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov edx, 0
mov dword [esp + 0xc], 0
mov byte [esp + 7], al
je 0x438e20
lea ecx, [esp + 0x78]
mov edx, ebx
push esi
call fcn.00438a87
add esp, 4
mov al, byte [esp + 0x94]
mov cl, byte [esp + 0x78]
cmp al, 0x20
jne 0x438fab
mov eax, dword [ebp + 8]
test cl, cl
je 0x438dd3
test eax, eax
je 0x438dd3
mov ecx, eax
mov edx, ebx
push esi
call fcn.0044a4a2
add esp, 4
test al, al
mov eax, dword [ebp + 8]
je 0x438e0b
lea edx, [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
call fcn.00438b36
add esp, 4
mov ecx, dword [esp + 0x7c]
mov al, byte [esp + 0x94]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x80]
cmp al, 0x20
mov dword [esp + 0x1c], ecx
je 0x438e20
jmp 0x438ff1
mov edx, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], edx
mov ecx, ebx
mov edx, esi
call fcn.005b20b0
test eax, eax
je 0x438ea7
mov esi, edx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x7c]
mov edx, eax
push esi
call fcn.005bc760
add esp, 4
mov dword [esp + 0x78], 1
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, ebx
test edi, edi
mov esi, edi
mov dword [esp + 0x48], eax
cmove esi, eax
call fcn.0059c336
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
push ebx
push esi
mov dword [esp + 0x14], eax
push eax
call fcn.0064a810
add esp, 0xc
test edi, edi
je 0x438ea3
cmp dword [esp + 0x48], 0
je 0x438ea3
push edi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
movzx eax, word [esp + 0x45]
mov cl, byte [esp + 0x47]
cmp edx, dword [esp + 0x2c]
mov word [esp + 0x10], ax
mov byte [esp + 0x12], cl
jne 0x438ed0
lea ecx, [esp + 0x28]
call fcn.00436bef
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
lea ecx, [edx + edx*4]
mov bl, byte [esp + 7]
inc edx
mov dword [eax + ecx*8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*8 + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*8 + 8], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*8 + 0xc], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 0x14], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*8 + 0x10], esi
mov esi, dword [esp + 8]
mov dword [eax + ecx*8 + 0x18], edi
mov dword [eax + ecx*8 + 0x1c], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*8 + 0x20], esi
mov byte [eax + ecx*8 + 0x24], bl
movzx esi, word [esp + 0x10]
mov word [eax + ecx*8 + 0x25], si
mov bl, byte [esp + 0x12]
mov byte [eax + ecx*8 + 0x27], bl
mov dword [esp + 0x30], edx
cmp dword [esp + 0x38], 0
je 0x438f52
push dword [esp + 0x34]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [esp + 0x74], 0x20
je 0x438ca0
lea eax, [esp + 0x58]
push eax
call fcn.004300dc
add esp, 4
jmp 0x438ca0
lea ecx, [esp + 0x2d0]
call fcn.0042efcf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x28]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov byte [ecx + 0x1c], 0x20
jmp 0x43908e
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
mov byte [eax + 0x1c], 0x18
jmp 0x439079
lea edx, [esp + 0x78]
mov ebx, edi
mov esi, dword [esp + 0x14]
mov edi, edx
mov edx, dword [edx + 0x18]
movsd xmm2, qword [edi + 1]
movsd xmm1, qword [edi + 9]
movsd xmm0, qword [edi + 0x11]
mov dword [esi + 0x18], edx
movzx edx, word [edi + 0x1d]
movsd qword [esi + 0x11], xmm0
movsd qword [esi + 9], xmm1
movsd qword [esi + 1], xmm2
mov word [esi + 0x1d], dx
mov dl, byte [edi + 0x1f]
mov edi, ebx
mov byte [esi + 0x1f], dl
mov edx, esi
mov byte [esi], cl
jmp 0x439033
lea ecx, [esp + 0x84]
lea esi, [esp + 0x78]
mov ebx, edx
mov edx, dword [esp + 0x14]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movzx ecx, word [esi + 0x1d]
mov ah, byte [esi + 0x1f]
mov esi, dword [esp + 0x20]
movsd qword [edx + 0x14], xmm1
movsd qword [edx + 0xc], xmm0
mov word [edx + 0x1d], cx
mov byte [edx + 0x1f], ah
mov dword [edx], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
cmp dword [esp + 8], 0
mov byte [edx + 0x1c], al
je 0x43904c
push edi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x38], 0
je 0x439065
push dword [esp + 0x34]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [esp + 0x74], 0x20
je 0x439079
lea eax, [esp + 0x58]
push eax
call fcn.004300dc
add esp, 4
lea ecx, [esp + 0x2d0]
call fcn.0042efcf
lea ecx, [esp + 0x28]
call fcn.00431cb3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret