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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x2b4
push ebx
push esi
push edi
push 0x70b470
xor ebx, ebx
push str.Encoding__s_image
lea eax, [esp + 0xc0]
mov word [esp + 0xc0], bx
call fcn.00483050
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
add esp, 8
push ebx
lea edx, [esp + 0xbc]
push edx
call eax
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 8]
add eax, 0x10
cmp dword [eax], ebx
jne 0x5b75f8
mov dword [esp + 0x4c], ebx
jmp 0x5b75ff
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
push 0x38
lea edx, [esp + 0x80]
push ebx
push edx
call fcn.006a1300
mov eax, dword [edi + 4]
mov esi, dword [edi]
add esp, 0xc
cmp eax, ebx
je 0x5b7637
cmp eax, 1
je 0x5b7637
cmp eax, 2
je 0x5b7637
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x3c], eax
jne 0x5b7679
fld qword [0x723758]
jmp 0x5b768c
fild dword [esp + 0x38]
fidiv dword [esp + 0x3c]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5b76d6
test ecx, ecx
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
jge 0x5b769e
fadd qword [0x7235b8]
fdivrp st(1)
sub esp, 8
fstp qword [esp]
call fcn.00401610
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x34], eax
fldcw word [esp + 0x34]
fistp qword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
fldcw word [esp + 0x30]
jmp 0x5b76d8
fstp st(0)
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x5b76f6
mov word [esp + 0x8a], 0x20
mov dword [esp + 0x8c], 3
jmp 0x5b7712
sub eax, 0xc
neg eax
sbb eax, eax
and eax, 0x10
add eax, 8
mov word [esp + 0x8a], ax
mov dword [esp + 0x8c], ebx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x80]
call fcn.005c3ee0
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x5b7739
mov eax, dword [ebp + 8]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ebx, word [esp + 0x8a]
imul ebx, dword [esp + 0x80]
add ebx, 7
shr ebx, 3
lea eax, [ebx + 3]
and eax, 0xfffffffc
push eax
mov dword [esp + 0x54], eax
call fcn.0069c0de
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
add eax, 0x10
add esp, 4
cmp dword [eax], 0
jne 0x5b777b
mov dword [esp + 0x34], 0
jmp 0x5b7782
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x5b7796
cmp eax, 3
jne 0x5b7914
push 5
mov edi, esi
lea eax, [esp + 0x58]
call fcn.004d2430
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
xor esi, esi
sub eax, ebx
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
jbe 0x5b7911
lea edx, [esp + 0x54]
lea ecx, [esp + 0xb4]
call dword [esp + 0x74]
mov edx, dword [esp + 0x68]
cmp edx, dword [esp + 0x54]
mov eax, dword [eax]
jae 0x5b781e
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add ecx, dword [esp + 0x60]
add dword [esp + 0x68], 1
add edx, 1
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jne 0x5b781e
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], ecx
mov di, word [esp + 0x8a]
cmp di, 0x18
mov ebx, dword [esp + 0x40]
jb 0x5b785b
mov byte [esi + ebx], al
add esi, 1
mov ecx, eax
shr ecx, 8
mov byte [esi + ebx], cl
add esi, 1
mov edx, eax
shr edx, 0x10
mov byte [esi + ebx], dl
add esi, 1
cmp di, 0x20
jne 0x5b785b
shr eax, 0x18
mov byte [esi + ebx], al
add esi, 1
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
jne 0x5b7903
mov eax, dword [esp + 0x44]
push eax
push 0
add esi, ebx
push esi
call fcn.006a1300
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x5c]
mov eax, dword [ecx + 8]
add esp, 0xc
push esi
push ebx
add eax, 0x10
push eax
call fcn.004bb3f0
cmp eax, esi
jne 0x5b792e
add dword [esp + 0x48], 1
mov eax, dword [esp + 0x48]
fild dword [esp + 0x48]
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
xor esi, esi
test eax, eax
mov dword [esp + 0x30], esi
jge 0x5b78c4
fadd qword [0x7235b8]
mov ecx, dword [esp + 0x84]
fild dword [esp + 0x84]
test ecx, ecx
jge 0x5b78dc
fadd qword [0x7235b8]
fdivp st(1)
mov edx, dword [edx + 0x24]
sub esp, 8
mov ecx, edi
fmul qword [0x7235d0]
fadd qword [0x723b28]
fstp qword [esp]
call edx
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test al, al
jne 0x5b794b
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], eax
jb 0x5b77d1
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x9c]
mov edx, dword [edi + 8]
xor esi, esi
mov dword [edi + 0xc], ecx
cmp dword [edx + 0x10], esi
jne 0x5b7968
mov dword [esp + 0x30], esi
jmp 0x5b796f
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], 2
call fcn.0069c8fa
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], 1
call fcn.0069c8fa
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [edx + 0x10]
sub eax, dword [esp + 0x34]
add ebx, 0x14
test ecx, ecx
je 0x5b799d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
xor ecx, ecx
cmp esi, ecx
ja 0x5b799d
jb 0x5b799a
cmp ebx, dword [esp + 0x38]
ja 0x5b799d
mov dword [edx + 0x18], ebx
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
push 4
lea edx, [esp + 0x48]
push edx
add eax, 0x10
push eax
call fcn.004bb3f0
cmp eax, 4
je 0x5b79da
mov eax, dword [esp + 0x40]
mov esi, dword [ebp + 8]
push eax
mov dword [esi], 2
call fcn.0069c8fa
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x10]
add eax, 0x10
xor edx, edx
test ecx, ecx
je 0x5b7a01
mov ecx, dword [ecx + 4]
xor esi, esi
cmp edx, esi
ja 0x5b7a01
jb 0x5b79fa
cmp dword [esp + 0x30], ecx
ja 0x5b7a01
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov esi, dword [ebp + 8]
mov dword [esi], edx
mov edx, dword [esp + 0x40]
push edx
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc