Function at 0x5b0080
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x688df3
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x9c48d0]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xe0]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov edx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.005aea90
mov esi, dword [esp + 0x14]
xor edx, edx
cmp dword [eax], ebp
mov dword [esp + 0x14], ebp
sete dl
mov edi, edx
cmp esi, ebp
je 0x5b012f
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b012f
mov ecx, esi
call fcn.005c1030
cmp edi, ebp
je 0x5b0149
mov esi, dword [esp + 0xdc]
push ebp
mov ecx, esi
mov dword [esi], ebp
call fcn.005c1230
jmp 0x5b07c1
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jl 0x5b019c
je 0x5b019c
lea ecx, [esp + 0x98]
call fcn.005bf2e0
mov eax, dword [ebx + 0xc]
xor ecx, ecx
cmp eax, ebp
setl cl
dec ecx
and eax, ecx
neg eax
push eax
lea ecx, [esp + 0x9c]
call fcn.005bf310
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x9c]
call fcn.005bf530
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x9c]
call fcn.005bf530
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
cmp eax, edx
jl 0x5b01e0
mov ebp, dword [esp + 0x40]
cmp eax, ebp
jge 0x5b01de
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
cmp eax, edi
jl 0x5b01de
mov esi, dword [esp + 0x44]
cmp eax, esi
jge 0x5b01de
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
dec eax
dec ecx
cmp eax, edx
jl 0x5b01de
cmp eax, ebp
jge 0x5b01de
cmp ecx, edi
jl 0x5b01de
cmp ecx, esi
jl 0x5b0227
xor ebp, ebp
push ebp
push ebp
push 0x45d
push str..extlibdjvuDjVuImage.cpp
push 0x692350
lea ecx, [esp + 0x94]
call fcn.005bb2d0
push eax
mov dword [esp + 0xd8], 1
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0xd4], 0
call fcn.005bb350
jmp 0x5b0229
xor ebp, ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.005aea90
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x5b0246
mov edx, dword [esi + 8]
mov dword [esp + 0x24], edx
jmp 0x5b024a
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
cmp esi, ebp
je 0x5b0269
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b0269
mov ecx, esi
call fcn.005c1030
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.005aea90
mov edi, dword [esp + 0x14]
cmp edi, ebp
je 0x5b0286
mov esi, dword [edi + 0xc]
mov dword [esp + 0x28], esi
jmp 0x5b028c
mov dword [esp + 0x28], ebp
mov esi, ebp
mov dword [esp + 0x14], ebp
cmp edi, ebp
je 0x5b02ab
lea edx, [edi + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b02ab
mov ecx, edi
call fcn.005c1030
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
sub ebp, ecx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x50]
neg ecx
sub edi, eax
push ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x58]
neg eax
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], edx
call fcn.005bf060
mov ebx, dword [esp + 0x24]
lea ecx, [esi + 1]
sub ebx, esi
mov dword [esp + 0x14], ecx
mov eax, 1
mov dword [esp + 0x1c], ebp
mov ecx, edi
lea edx, [esi - 1]
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
lea esi, [ebx + edx]
cmp ecx, esi
jle 0x5b0331
mov esi, dword [esp + 0x14]
add ebx, esi
cmp ecx, ebx
jge 0x5b032d
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
jle 0x5b032d
cmp ebx, esi
jl 0x5b039a
mov ebx, dword [esp + 0x18]
add dword [esp + 0x1c], ebp
inc dword [esp + 0x14]
inc eax
add ecx, edi
dec edx
cmp eax, 0xf
jle 0x5b0310
mov edx, ebp
neg edx
mov dword [esp + 0x6c], edx
mov edx, edi
neg edx
mov dword [esp + 0x18], edx
mov edx, ebp
imul edx, edx, 0x2d
mov dword [esp + 0x1c], edx
mov ebx, edi
lea edx, [ebp*4]
imul ebx, ebx, 0x2d
sub edx, ebp
neg edx
mov dword [esp + 0x34], edx
mov ecx, ebp
mov eax, edi
shl ecx, 4
shl eax, 4
lea edx, [edi*4]
sub edx, edi
sub ecx, ebp
sub eax, edi
neg edx
mov esi, 0xf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], edx
jmp 0x5b0484
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0xe0]
push edx
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call dword [esp + 0xf4]
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x5b03d1
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x18], 0
test edi, edi
je 0x5b0409
lea edx, [edi + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b0409
mov ecx, edi
call fcn.005c1030
test esi, esi
je 0x5b044a
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0xdc]
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and eax, ecx
push eax
push edi
mov ecx, esi
call fcn.005b9ea0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
mov byte [esp + 0xd4], 0
call fcn.005935f0
mov eax, edi
jmp 0x5b07c3
mov esi, dword [esp + 0xdc]
push 0
mov ecx, esi
mov dword [esi], 0
call fcn.005c1230
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
mov byte [esp + 0xd4], 0
call fcn.005935f0
jmp 0x5b07c1
mov ebx, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jge 0x5b0490
cmp ecx, dword [esp + 0x28]
jl 0x5b04be
cmp ebx, dword [esp + 0x24]
jl 0x5b04be
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x1c], edx
jl 0x5b04be
mov edx, dword [esp + 0x68]
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
add eax, dword [esp + 0x18]
add ecx, dword [esp + 0x6c]
add dword [esp + 0x1c], edx
dec esi
cmp esi, 1
jg 0x5b0480
cmp dword [esp + 0x24], 0
jle 0x5b07ab
cmp dword [esp + 0x28], 0
jle 0x5b07ab
lea eax, [esp + 0x20]
push eax
call fcn.005adda0
add esp, 4
mov edx, dword [esp + 0x28]
lea eax, [edx + esi - 1]
cdq
idiv esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xd4], 3
mov ebx, ecx
push eax
mov eax, dword [esp + 0x28]
lea eax, [eax + esi - 1]
cdq
idiv esi
push eax
call fcn.005bfeb0
push ebp
push edi
mov ecx, ebx
call fcn.005bfef0
mov ecx, dword [esp + 0x24]
mov edx, esi
imul edx, edi
push ecx
push edx
mov ecx, ebx
call fcn.005bff30
mov eax, dword [esp + 0x28]
mov ecx, esi
imul ecx, ebp
push eax
push ecx
mov ecx, ebx
call fcn.005c0080
lea edx, [esp + 0x70]
xor edi, edi
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.005c0380
push 1
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0xec]
lea edx, [esp + 0x24]
push edx
call dword [esp + 0xf4]
mov esi, eax
mov eax, dword [esi]
cmp eax, edi
je 0x5b0594
add eax, 4
push eax
call fcn.0058e490
add esp, 4
mov esi, dword [esi]
mov dword [esp + 0x34], esi
mov ebp, dword [esp + 0x18]
mov byte [esp + 0xd4], 4
mov dword [esp + 0x18], edi
cmp ebp, edi
je 0x5b05c5
lea eax, [ebp + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b05c5
mov ecx, ebp
call fcn.005c1030
cmp esi, edi
jne 0x5b0614
mov ebx, dword [esp + 0xdc]
push edi
mov ecx, ebx
mov dword [ebx], edi
call fcn.005c1230
mov esi, dword [esp + 0x20]
mov dword [esp + 0x30], 1
mov byte [esp + 0xd4], 0
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x5b060d
lea ecx, [esi + 4]
push ecx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b060d
mov ecx, esi
call fcn.005c1030
mov eax, ebx
jmp 0x5b07c3
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0xec]
mov ecx, edx
sub ecx, esi
lea eax, [ecx + ebp - 1]
dec ebp
not ebp
and eax, ebp
sub eax, edx
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x5c]
add eax, esi
push eax
push ecx
push edx
lea edx, [esp + 0x38]
push edx
call fcn.005add10
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
push ecx
push ebp
lea edx, [esp + 0x7c]
push edx
mov ecx, ebx
mov byte [esp + 0xe4], 5
call fcn.005c04c0
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x5b0727
mov eax, dword [esp + 0xe0]
mov eax, dword [eax + 0xc]
mov esi, dword [esp + 0xdc]
xor edx, edx
cmp eax, edi
setl dl
dec edx
and eax, edx
push eax
push esi
call fcn.005b9ea0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], 1
mov byte [esp + 0xd4], 4
mov dword [esp + 0x2c], edi
cmp ebx, edi
je 0x5b06d0
lea eax, [ebx + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b06d0
mov ecx, ebx
call fcn.005c1030
lea ecx, [ebp + 4]
push ecx
mov byte [esp + 0xd8], 3
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b06ef
mov ecx, ebp
call fcn.005c1030
mov ebx, dword [esp + 0x20]
mov byte [esp + 0xd4], 0
mov dword [esp + 0x20], edi
cmp ebx, edi
je 0x5b07c1
lea edx, [ebx + 4]
push edx
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b07c1
mov ecx, ebx
call fcn.005c1030
jmp 0x5b07c1
mov ebx, dword [esp + 0xdc]
push edi
mov ecx, ebx
mov dword [ebx], edi
call fcn.005c1230
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], 1
mov byte [esp + 0xd4], 4
mov dword [esp + 0x2c], edi
cmp esi, edi
je 0x5b076b
lea eax, [esi + 4]
push eax
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b076b
mov ecx, esi
call fcn.005c1030
lea ecx, [ebp + 4]
push ecx
mov byte [esp + 0xd8], 3
call fcn.0058e4a0
add esp, 4
test eax, eax
jne 0x5b078a
mov ecx, ebp
call fcn.005c1030
mov esi, dword [esp + 0x20]
mov byte [esp + 0xd4], 0
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x5b060d
lea edx, [esi + 4]
push edx
jmp 0x5b05fa
mov esi, dword [esp + 0xdc]
push 0
mov ecx, esi
mov dword [esi], 0
call fcn.005c1230
mov eax, esi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret