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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68c940
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x9c48d0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
shl ecx, 7
or ecx, 1
push ecx
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.005916b0
mov eax, dword [esi + 0x10]
push eax
mov ecx, edi
call fcn.00591750
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5d4d28
lea ecx, [esi + 0xc]
mov esi, dword [ecx + 8]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov edi, ecx
test esi, esi
je 0x5d4843
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
test esi, esi
je 0x5d47d5
cmp ecx, edi
je 0x5d47e3
mov edx, edi
push edx
lea ecx, [esp + 0x28]
call fcn.005ba8d0
mov ecx, edi
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dl, byte [eax + 0x34]
and dl, 0x3f
cmp dl, 3
jne 0x5d47f6
inc ebx
test esi, esi
je 0x5d4800
mov esi, dword [esi]
test esi, esi
jne 0x5d47c5
cmp ebx, 1
jle 0x5d4843
push 0
push 0
push 0x1b1
push str..extlibdjvuDjVmDir.cpp
push 0x6949d8
lea ecx, [esp + 0x68]
call fcn.005bb2d0
push eax
mov dword [esp + 0x7c], 0
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0xffffffff
call fcn.005bb350
cmp byte [ebp + 0xc], 0
je 0x5d4920
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov edi, eax
mov ebx, ecx
test eax, eax
je 0x5d4920
mov esi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
test edi, edi
je 0x5d4874
cmp dword [esp + 0x18], ebx
je 0x5d4886
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
call fcn.005ba8d0
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 8]
test eax, eax
je 0x5d4899
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi + 8]
mov dword [esp + 0x24], esi
cmp dword [esi + 8], 0
mov dword [esp + 0x78], 1
jne 0x5d48e6
push 0
push 0
push 0x1bf
push str..extlibdjvuDjVmDir.cpp
push 0x6949c4
lea ecx, [esp + 0x68]
call fcn.005bb2d0
push eax
mov byte [esp + 0x7c], 2
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 1
call fcn.005bb350
mov ecx, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.005918b0
lea edx, [esi + 4]
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5d4912
mov ecx, esi
call fcn.005c1030
test edi, edi
je 0x5d4920
mov edi, dword [edi]
test edi, edi
jne 0x5d4860
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x32
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
test eax, eax
je 0x5d493e
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
mov dword [esi], edx
call fcn.00590950
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], 3
mov dword [esp + 0x1c], ecx
mov edi, eax
test eax, eax
je 0x5d49e7
mov esi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
test edi, edi
je 0x5d4983
cmp dword [esp + 0x18], ebx
je 0x5d4995
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
call fcn.005ba8d0
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 8]
test eax, eax
je 0x5d49a8
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi + 8]
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x7c], 4
call fcn.00591800
lea ecx, [esi + 4]
push ecx
mov byte [esp + 0x7c], 3
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5d49dd
mov ecx, esi
call fcn.005c1030
test edi, edi
je 0x5d49e7
mov edi, dword [edi]
test edi, edi
jne 0x5d496f
cmp byte [ebp + 0x10], 0
jne 0x5d49f8
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x17], 0
jne 0x5d49fd
mov byte [esp + 0x17], 1
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov edi, eax
test eax, eax
je 0x5d4b64
mov esi, edi
mov eax, ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
test edi, edi
je 0x5d4a22
cmp ebx, eax
je 0x5d4a30
push ebx
lea ecx, [esp + 0x48]
call fcn.005ba8d0
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 8]
test eax, eax
je 0x5d4a43
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi + 8]
mov dword [esp + 0x24], esi
cmp byte [esp + 0x17], 0
mov byte [esp + 0x78], 5
je 0x5d4ad2
mov edx, dword [0x9c1588]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edx
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 6
call fcn.00592a60
cmp dword [esp + 0x34], 0
mov byte [esp + 0x78], 7
jne 0x5d4ac2
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
test eax, eax
je 0x5d4abe
cmp dword [eax + 8], 0
je 0x5d4abe
push 0xffffffffffffffff
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005c3a40
add esp, 0xc
test eax, eax
je 0x5d4abe
or byte [esi + 0x34], 0x80
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call fcn.005935f0
jmp 0x5d4aff
and byte [esi + 0x34], 0x7f
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call fcn.005935f0
jmp 0x5d4aff
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
test eax, eax
je 0x5d4afb
cmp dword [eax + 8], 0
je 0x5d4afb
push 0xffffffffffffffff
lea eax, [esi + 0x24]
push eax
push ecx
call fcn.005c3a40
add esp, 0xc
test eax, eax
je 0x5d4afb
or byte [esi + 0x34], 0x80
jmp 0x5d4aff
and byte [esi + 0x34], 0x7f
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x2c]
test eax, eax
je 0x5d4b28
cmp dword [eax + 8], 0
je 0x5d4b28
push 0xffffffffffffffff
lea edx, [esi + 0x24]
push edx
push ecx
call fcn.005c3a40
add esp, 0xc
test eax, eax
je 0x5d4b28
or byte [esi + 0x34], 0x40
jmp 0x5d4b2c
and byte [esi + 0x34], 0xbf
movzx eax, byte [esi + 0x34]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.005916b0
lea ecx, [esi + 4]
push ecx
mov byte [esp + 0x7c], 3
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5d4b56
mov ecx, esi
call fcn.005c1030
test edi, edi
je 0x5d4b64
mov edi, dword [edi]
test edi, edi
jne 0x5d4a0e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
xor edi, edi
mov ebx, eax
cmp eax, edi
je 0x5d4cfd
jmp 0x5d4b84
mov ecx, dword [esp + 0x18]
mov esi, ebx
mov eax, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
cmp ebx, edi
je 0x5d4b98
cmp ecx, eax
je 0x5d4baa
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.005ba8d0
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 8]
cmp eax, edi
je 0x5d4bbd
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi + 8]
mov dword [esp + 0x24], esi
mov eax, dword [0x9c1588]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
cmp byte [esp + 0x17], 0
mov byte [esp + 0x78], 0xb
lea ecx, [esp + 0x2c]
je 0x5d4c18
lea eax, [esi + 0x14]
push eax
call fcn.00592a60
cmp dword [esp + 0x2c], edi
jne 0x5d4c0d
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x30]
call fcn.00592a60
test byte [esi + 0x34], 0x80
je 0x5d4c34
lea eax, [esi + 0x1c]
jmp 0x5d4c2a
lea eax, [esi + 0x24]
push eax
call fcn.00592a60
test byte [esi + 0x34], 0x80
je 0x5d4c34
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.00592a60
test byte [esi + 0x34], 0x40
je 0x5d4c47
lea eax, [esi + 0x2c]
push eax
lea ecx, [esp + 0x40]
call fcn.00592a60
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
call fcn.00592480
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005916b0
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x5d4c84
cmp dword [eax + 8], edi
je 0x5d4c84
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00592480
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005916b0
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x5d4ca9
cmp dword [eax + 8], edi
je 0x5d4ca9
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
call fcn.00592480
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005916b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 0xa
call fcn.005935f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 9
call fcn.005935f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 8
call fcn.005935f0
lea eax, [esi + 4]
push eax
mov byte [esp + 0x7c], 3
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5d4cef
mov ecx, esi
call fcn.005c1030
cmp ebx, edi
je 0x5d4cfd
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x5d4b80
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x5d4d28
lea ecx, [esi + 4]
push ecx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5d4d28
mov ecx, esi
call fcn.005c1030
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc