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

Disassembly:
sub esp, 0x70c
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x708], eax
mov eax, dword [esp + 0x710]
cmp dword [eax + 0x18], 0x10
jb 0x5d3b26
mov eax, dword [eax + 4]
jmp 0x5d3b29
add eax, 4
push ebp
call fcn.005d35f0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x2c], ebp
jne 0x5d3b4f
pop ebp
mov ecx, dword [esp + 0x708]
xor ecx, esp
call fcn.00624940
add esp, 0x70c
ret
push ebx
push esi
push edi
lea eax, [esp + 0x8c]
mov edi, 6
push eax
mov esi, ebp
lea ebx, [edi - 5]
call fcn.005d36f0
push 5
lea ecx, [esp + 0x94]
push str.GIF87
push ecx
call fcn.0062608c
add esp, 0x10
test eax, eax
je 0x5d3ba3
push 5
lea edx, [esp + 0x90]
push str.GIF89
push edx
call fcn.0062608c
add esp, 0xc
test eax, eax
jne 0x5d3e40
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x88]
mov edi, ebx
push eax
mov esi, ebp
mov ebx, 2
call fcn.005d36f0
lea ecx, [esp + 0x88]
push ecx
call fcn.005d36f0
lea edx, [esp + 0x1a]
push edx
mov ebx, edi
call fcn.005d36f0
lea eax, [esp + 0x6f]
push eax
call fcn.005d36f0
lea ecx, [esp + 0x21]
push ecx
call fcn.005d36f0
movzx ecx, byte [esp + 0x26]
add esp, 0x14
test cl, cl
jns 0x5d3c2a
and ecx, 7
add ecx, ebx
mov eax, ebx
shl eax, cl
lea edi, [eax + eax*2]
push edi
mov dword [esp + 0x34], eax
call fcn.00613caa
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x5d3e40
push eax
call fcn.005d36f0
add esp, 4
mov dword [esp + 0x68], 0xffffffff
lea edx, [esp + 0x11]
mov edi, 1
push edx
mov esi, ebp
mov ebx, edi
call fcn.005d36f0
add esp, 4
test eax, eax
je 0x5d3e39
mov al, byte [esp + 0x11]
cmp al, 0x3b
je 0x5d3e39
cmp al, 0x21
jne 0x5d3ddc
lea eax, [esp + 0x11]
push eax
call fcn.005d36f0
movzx eax, byte [esp + 0x15]
add esp, 4
sub eax, 0xf9
je 0x5d3db1
sub eax, 5
je 0x5d3d0d
sub eax, edi
je 0x5d3cab
mov edi, edi
lea ecx, [esp + 0x98]
push ecx
mov eax, ebp
call fcn.005d3ac0
add esp, 4
test eax, eax
jg 0x5d3c90
jmp 0x5d3ddc
lea edx, [esp + 0x98]
push edx
mov eax, ebp
call fcn.005d3ac0
add esp, 4
test eax, eax
jle 0x5d3cd8
push 0xb
lea eax, [esp + 0x9c]
push str.NETSCAPE2.0
push eax
call fcn.0062608c
add esp, 0xc
lea ecx, [esp + 0x98]
push ecx
mov eax, ebp
call fcn.005d3ac0
add esp, 4
test eax, eax
jle 0x5d3ddc
lea edx, [esp + 0x98]
push edx
mov eax, ebp
call fcn.005d3ac0
add esp, 4
test eax, eax
jg 0x5d3cf2
jmp 0x5d3ddc
lea eax, [esp + 0x98]
push eax
mov eax, ebp
xor ebx, ebx
call fcn.005d3ac0
mov esi, eax
add esp, 4
test esi, esi
jle 0x5d3ddc
jmp 0x5d3d30
test ebx, ebx
jne 0x5d3d49
lea ecx, [esi + 1]
push ecx
call fcn.00613caa
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5d3d49
mov byte [ebx], 0
lea eax, [esp + 0x98]
mov byte [esp + esi + 0x98], 0
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x5d3d60
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x5d3d72
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x98]
and ecx, 3
push edx
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
call fcn.005d3ac0
mov esi, eax
add esp, 4
test esi, esi
jg 0x5d3d30
test ebx, ebx
je 0x5d3ddc
push ebx
call fcn.0062493b
add esp, 4
jmp 0x5d3ddc
lea eax, [esp + 0x98]
push eax
mov eax, ebp
call fcn.005d3ac0
add esp, 4
test eax, eax
jg 0x5d3db1
test byte [esp + 0x98], bl
je 0x5d3ddc
movzx ecx, byte [esp + 0x9b]
mov dword [esp + 0x68], ecx
cmp byte [esp + 0x11], 0x2c
jne 0x5d3c32
lea edx, [esp + 0x78]
mov edi, 1
push edx
mov esi, ebp
lea ebx, [edi + 1]
call fcn.005d36f0
lea eax, [esp + 0x80]
push eax
call fcn.005d36f0
lea ecx, [esp + 0x20]
push ecx
call fcn.005d36f0
lea edx, [esp + 0x28]
push edx
call fcn.005d36f0
lea eax, [esp + 0x22]
push eax
mov ebx, edi
call fcn.005d36f0
mov cl, byte [esp + 0x26]
add esp, 0x14
test cl, cl
js 0x5d3e5b
mov ebp, dword [esp + 0x30]
jmp 0x5d3e64
mov esi, ebp
call fcn.005d3650
xor eax, eax
mov ecx, dword [esp + 0x718]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00624940
add esp, 0x70c
ret
and ecx, 7
add ecx, ebx
mov ebp, ebx
shl ebp, cl
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00613caa
mov ebx, eax
mov al, byte [esp + 0x16]
mov cl, al
and cl, 0x40
add esp, 4
cmp cl, 0x40
sete byte [esp + 0x2b]
cmp word [esp + 0x18], 0
mov dword [esp + 0x30], ebx
je 0x5d3e40
cmp word [esp + 0x1c], 0
je 0x5d3e40
test al, al
js 0x5d3eef
mov ecx, dword [esp + 0x24]
xor edx, edx
test ebp, ebp
jle 0x5d3f5e
jmp 0x5d3ec0
movzx eax, byte [ecx]
movzx esi, byte [ecx + 1]
add ecx, 1
movzx edi, byte [ecx + 1]
or eax, 0xffffff00
shl eax, 8
add ecx, 1
or eax, esi
shl eax, 8
or eax, edi
mov dword [ebx + edx*4], eax
add edx, 1
add ecx, 1
cmp edx, ebp
jl 0x5d3ec0
jmp 0x5d3f5e
lea edi, [ebp + ebp*2]
push edi
call fcn.00613caa
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0x38], ebx
call fcn.005d36c0
push ebx
mov ebx, 1
call fcn.005d36f0
mov ecx, dword [esp + 0x3c]
add esp, 8
xor edx, edx
test ebp, ebp
jle 0x5d3f51
mov ebx, dword [esp + 0x30]
movzx eax, byte [ecx]
movzx esi, byte [ecx + 1]
add ecx, 1
movzx edi, byte [ecx + 1]
or eax, 0xffffff00
shl eax, 8
add ecx, 1
or eax, esi
shl eax, 8
or eax, edi
mov dword [ebx + edx*4], eax
add edx, 1
add ecx, 1
cmp edx, ebp
jl 0x5d3f24
mov edx, dword [esp + 0x34]
push edx
call fcn.0062493b
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5d3f6f
push eax
call fcn.0062506e
add esp, 4
push 0x100
call fcn.00613caa
push 0x2000
mov dword [esp + 0x3c], eax
call fcn.00613caa
push 0x1000
mov dword [esp + 0x30], eax
call fcn.00613caa
push 0x1001
mov dword [esp + 0x3c], eax
call fcn.00613caa
mov esi, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x33]
mov edi, 1
push eax
mov ebx, edi
call fcn.005d36f0
movzx ecx, byte [esp + 0x37]
mov edx, ebx
shl edx, cl
add ecx, ebx
shl ebx, cl
add esp, 0x14
xor eax, eax
mov dword [esp + 0x64], edx
sub ebx, edi
test edx, edx
lea ebp, [edx + 2]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], ecx
jle 0x5d4003
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x64]
mov word [ecx + eax*2], 0
mov byte [eax + edx], al
add eax, 1
cmp eax, edi
jl 0x5d3ff3
movsx ecx, word [esp + 0x18]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x11], al
mov dword [esp + 0x4c], eax
mov byte [esp + 0x13], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
movsx eax, word [esp + 0x1c]
imul eax, ecx
mov edi, dword [esp + 0x5c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00613caa
mov cx, word [esp + 0x20]
mov dword [esp + 0x74], eax
xor eax, eax
add esp, 4
cmp cx, ax
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], eax
jle 0x5d42f2
jmp 0x5d4070
movsx eax, word [esp + 0x18]
mov esi, dword [esp + 0x70]
mov edx, eax
imul edx, dword [esp + 0x14]
test eax, eax
lea edx, [esi + edx*4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x58], 0
jle 0x5d424a
mov esi, dword [esp + 0x48]
jmp 0x5d40a0
cmp edi, dword [esp + 0x5c]
jne 0x5d420a
cmp dword [esp + 0x3c], esi
jge 0x5d4111
cmp dword [esp + 0x4c], 0
jne 0x5d40e7
mov esi, dword [esp + 0x38]
call fcn.005d36c0
mov eax, dword [esp + 0x34]
push eax
mov eax, esi
call fcn.005d3ac0
add esp, 4
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x5d4245
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x54]
movzx eax, byte [edx]
mov ecx, dword [esp + 0x3c]
shl eax, cl
add ecx, 8
mov dword [esp + 0x3c], ecx
add dword [esp + 0x50], eax
mov eax, 1
add dword [esp + 0x54], eax
sub dword [esp + 0x4c], eax
jmp 0x5d4236
mov edx, dword [esp + 0x50]
sub dword [esp + 0x3c], esi
mov eax, edx
mov ecx, esi
shr edx, cl
and eax, ebx
cmp eax, ebp
mov dword [esp + 0x50], edx
jg 0x5d4245
mov edx, dword [esp + 0x64]
lea ecx, [edx + 1]
cmp eax, ecx
je 0x5d4245
cmp eax, edx
jne 0x5d4168
movzx esi, byte [esp + 0x23]
add esi, 1
mov ebx, 1
mov ecx, esi
shl ebx, cl
mov dword [esp + 0x48], esi
lea ebp, [edx + 2]
mov dword [esp + 0x44], 0xffffffff
sub ebx, 1
jmp 0x5d4236
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
jne 0x5d418a
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov byte [edi], dl
add edi, 1
mov dword [esp + 0x44], eax
mov byte [esp + 0x13], al
jmp 0x5d4236
cmp eax, ebp
mov dword [esp + 0x80], eax
jl 0x5d41a0
mov al, byte [esp + 0x13]
mov byte [edi], al
add edi, 1
mov eax, ecx
cmp eax, edx
jl 0x5d41c0
mov ecx, dword [esp + 0x2c]
mov cl, byte [eax + ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx + eax*2]
add edi, 1
cmp eax, edx
jge 0x5d41a4
mov ecx, dword [esp + 0x44]
cmp ebp, 0x1000
mov edx, dword [esp + 0x2c]
mov al, byte [eax + edx]
mov byte [esp + 0x13], al
jge 0x5d4245
mov edx, dword [esp + 0x24]
mov byte [edi], al
mov word [edx + ebp*2], cx
mov ecx, dword [esp + 0x2c]
mov byte [ecx + ebp], al
add ebp, 1
add edi, 1
test ebp, ebx
jne 0x5d41ff
cmp ebp, 0x1000
jge 0x5d41ff
add esi, 1
mov dword [esp + 0x48], esi
add ebx, ebp
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], edx
movzx eax, byte [edi - 1]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
sub edi, 1
cmp eax, dword [esp + 0x68]
mov dword [ecx], edx
jne 0x5d422a
mov dword [ecx], 0
add dword [esp + 0x58], 1
add ecx, 4
mov dword [esp + 0x6c], ecx
movsx eax, word [esp + 0x18]
cmp dword [esp + 0x58], eax
jl 0x5d40a0
mov cx, word [esp + 0x1c]
cmp byte [esp + 0x2b], 0
mov edx, 1
jne 0x5d425c
add dword [esp + 0x14], edx
jmp 0x5d42d2
mov eax, dword [esp + 0x40]
sub eax, edx
je 0x5d42b3
sub eax, edx
je 0x5d4293
sub eax, edx
je 0x5d428c
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 8
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42d2
add dword [esp + 0x40], edx
mov dword [esp + 0x14], 4
jmp 0x5d42d2
add dword [esp + 0x14], 2
jmp 0x5d42d2
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 4
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42d2
mov dword [esp + 0x40], 3
mov dword [esp + 0x14], edx
jmp 0x5d42d2
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 8
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42d2
mov eax, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
movsx eax, word [esp + 0x18]
cmp dword [esp + 0x58], eax
jl 0x5d42f2
mov eax, dword [esp + 0x74]
add eax, edx
movsx edx, cx
cmp eax, edx
mov dword [esp + 0x74], eax
jl 0x5d4070
mov eax, dword [esp + 0x5c]
push eax
call fcn.0062493b
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0062493b
mov edx, dword [esp + 0x2c]
push edx
call fcn.0062493b
mov eax, dword [esp + 0x40]
push eax
call fcn.0062493b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0062493b
push 0x10
call fcn.00624a6a
add esp, 0x18
test eax, eax
je 0x5d433b
call fcn.005d3730
mov edi, eax
jmp 0x5d433d
xor edi, edi
movsx edx, word [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov dword [edi + 4], edx
movsx eax, word [esp + 0x1c]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
call fcn.005d3650
mov eax, edi
jmp 0x5d3e42