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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1f4
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x30], 0
push esi
push edi
je 0x5bdb17
mov eax, dword [ebx]
add eax, 0x10
cmp dword [eax], 0xffffffff
setne cl
test cl, cl
jne 0x5bdb29
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push eax
call fcn.0048b230
or eax, edx
jne 0x5bdc18
mov esi, dword [ebx]
lea eax, [ebx + 8]
push eax
call fcn.005c61b0
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx]
call fcn.005c6200
test al, al
je 0x5bdb17
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x5bdbd4
lea esi, [esp + 0x38]
call fcn.00488290
test edi, edi
jbe 0x5bdb9b
mov esi, dword [esp + 0x38]
xor eax, eax
add esi, 2
mov ecx, dword [ebx + 0x18]
movzx edx, byte [ecx + eax + 2]
mov byte [esi - 2], dl
mov ecx, dword [ebx + 0x18]
movzx edx, byte [ecx + eax + 1]
mov byte [esi - 1], dl
mov ecx, dword [ebx + 0x18]
movzx edx, byte [eax + ecx]
mov byte [esi], dl
add eax, 3
add esi, 3
sub edi, 1
jne 0x5bdb71
lea eax, [esp + 0x38]
lea esi, [esp + 0x50]
call fcn.004ce2e0
mov eax, dword [ebx]
push eax
mov eax, esi
call fcn.005c62a0
mov ecx, dword [esp + 0x50]
push ecx
mov byte [esp + 0x27], al
call fcn.0069c8fa
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call fcn.0069c8fa
mov al, byte [esp + 0x27]
add esp, 4
test al, al
je 0x5bdb17
cmp dword [ebx + 0x14], 0
jl 0x5bdc10
movzx eax, word [ebx + 0x14]
push eax
lea esi, [esp + 0x5c]
call fcn.004ce430
mov eax, dword [ebx]
mov ecx, esi
call fcn.005c6350
mov ecx, esi
mov byte [esp + 0x23], al
mov dword [esp + 0x58], 0x70dfc4
call fcn.00429b20
mov al, byte [esp + 0x23]
test al, al
je 0x5bdb17
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
test al, al
jne 0x5bdb17
mov ecx, dword [ebx + 0x28]
fldz
mov edi, dword [ebp + 0x14]
fstp qword [esp + 0x40]
fld qword [0x723578]
xor eax, eax
mov dword [esp + 0x2c], eax
fstp qword [esp + 0x48]
mov dword [esp + 0x30], eax
mov byte [esp + 0x64], al
lea eax, [esp + 0x58]
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x69], edx
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 0x6dbc50
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], pe_nt_image_headers32
call fcn.004d57e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5bdca9
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esp + 0x38], 0x70c5e4
jmp 0x5bdf94
fld qword [esp + 0x48]
lea ecx, [esp + 0x70]
call fcn.004d0af0
fstp qword [esp + 0x60]
mov eax, dword [ebx + 0x24]
fld qword [0x723688]
lea ecx, [esp + 0x2c]
fstp qword [esp + 0x68]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x38], edi
lea edx, [esp + 0x70]
push ecx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x54]
mov dword [esp + 0x5c], 0x6dbc50
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.005c43f0
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
je 0x5bdd33
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
mov dword [esi], eax
mov dword [esp + 0x58], 0x70c5e4
call fcn.004d0c50
mov edx, dword [esp + 0x2c]
push edx
call fcn.0069c8fa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push edi
lea esi, [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
call fcn.0055aa40
test edi, edi
mov dword [esp + 0x3c], edi
jbe 0x5bdd91
mov esi, dword [esp + 0x38]
xor eax, eax
add esi, 2
mov ecx, edi
mov edx, dword [esp + 0x2c]
movzx edx, byte [edx + eax + 2]
mov byte [esi - 2], dl
mov edx, dword [esp + 0x2c]
movzx edx, byte [edx + eax + 1]
mov byte [esi - 1], dl
mov edx, dword [esp + 0x2c]
movzx edx, byte [edx + eax]
mov byte [esi], dl
add eax, 3
add esi, 3
sub ecx, 1
jne 0x5bdd64
mov eax, 0xffff
cmp dword [esp + 0x74], eax
ja 0x5bdf75
cmp dword [esp + 0x78], eax
ja 0x5bdf75
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
lea ecx, [esp + 0xf4]
call fcn.004ce3d0
mov eax, dword [ebx]
lea ecx, [esp + 0xe8]
call fcn.005c6400
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov esi, eax
imul esi, ecx
lea edx, [esp + 0x38]
push edx
push edi
lea edi, [esp + 0xc8]
mov dword [esp + 0x58], esi
call fcn.004ce320
mov eax, dword [esp + 0xb4]
cmp eax, dword [esp + 0x74]
jne 0x5bde24
lea ecx, [esp + 0x70]
call fcn.004d14f0
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebx]
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, esi
call fcn.005c64b0
mov edi, dword [eax]
jmp 0x5bdf10
xor eax, eax
mov edi, esi
lea esi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00554970
mov esi, dword [esp + 0x24]
test esi, esi
push 0
jne 0x5bde99
mov esi, dword [ebp + 0xc]
mov dword [esi], 2
call fcn.0069c8fa
add esp, 4
lea eax, [esp + 0xc0]
call fcn.0048e930
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0xec], 0x6ded84
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x70]
call fcn.004d0c50
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0069c8fa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea eax, [esp + 0x74]
lea edi, [esp + 0x5c]
mov dword [esp + 0x28], 0
call fcn.004d3900
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
test edi, edi
je 0x5bdee9
cmp edi, dword [esp + 0x58]
jb 0x5bdee9
cmp edi, dword [esp + 0x5c]
ja 0x5bdee9
mov edx, dword [esp + 0x24]
push eax
lea eax, [esi + edx]
push edi
push eax
call fcn.006a4bd0
mov eax, dword [esp + 0x80]
add dword [esp + 0x30], eax
add esp, 0xc
add edi, dword [esp + 0x64]
jmp 0x5bdeb6
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx]
push esi
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x5c]
lea edi, [esp + 0xcc]
call fcn.005c64b0
mov edi, dword [eax]
push esi
call fcn.0069c8fa
add esp, 4
test edi, edi
jne 0x5bdf55
mov edx, dword [ebx + 0xc]
cmp word [edx], di
jne 0x5bdf33
movzx eax, word [ebx + 0x10]
mov ecx, dword [esp + 0x74]
cmp ax, cx
movzx eax, ax
ja 0x5bdf2f
movzx eax, cx
mov word [ebx + 0x10], ax
cmp word [edx + 2], 0
jne 0x5bdf51
movzx eax, word [ebx + 0x12]
mov ecx, dword [esp + 0x78]
cmp ax, cx
movzx eax, ax
ja 0x5bdf4d
movzx eax, cx
mov word [ebx + 0x12], ax
add dword [ebx + 4], 1
mov ecx, dword [ebp + 0x10]
fld1
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
mov esi, dword [ebp + 0xc]
mov dword [esi], 0
jmp 0x5bde54
mov edx, dword [esp + 0x38]
mov esi, dword [ebp + 0xc]
push edx
mov dword [esi], 2
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x70]
call fcn.004d0c50
mov eax, dword [esp + 0x2c]
push eax
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18