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

Disassembly:
sub esp, 0x70c
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x708], eax
cmp dword [0x6b5430], 0x10
mov eax, dword [0x6b541c]
jae 0x5d3b07
mov eax, 0x6b541c
push ebp
call fcn.005d35b0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x2c], ebp
jne 0x5d3b2d
pop ebp
mov ecx, dword [esp + 0x708]
xor ecx, esp
call fcn.00626d59
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.005d36b0
push 5
lea ecx, [esp + 0x94]
push str.GIF87
push ecx
call fcn.0062886f
add esp, 0x10
test eax, eax
je 0x5d3b81
push 5
lea edx, [esp + 0x90]
push str.GIF89
push edx
call fcn.0062886f
add esp, 0xc
test eax, eax
jne 0x5d3e20
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.005d36b0
lea ecx, [esp + 0x88]
push ecx
call fcn.005d36b0
lea edx, [esp + 0x1a]
push edx
mov ebx, edi
call fcn.005d36b0
lea eax, [esp + 0x6f]
push eax
call fcn.005d36b0
lea ecx, [esp + 0x21]
push ecx
call fcn.005d36b0
movzx ecx, byte [esp + 0x26]
add esp, 0x14
test cl, cl
jns 0x5d3c08
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.00612a1b
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x5d3e20
push eax
call fcn.005d36b0
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.005d36b0
add esp, 4
test eax, eax
je 0x5d3e19
mov al, byte [esp + 0x11]
cmp al, 0x3b
je 0x5d3e19
cmp al, 0x21
jne 0x5d3dbc
lea eax, [esp + 0x11]
push eax
call fcn.005d36b0
movzx eax, byte [esp + 0x15]
add esp, 4
sub eax, 0xf9
je 0x5d3d91
sub eax, 5
je 0x5d3ced
sub eax, edi
je 0x5d3c8b
lea esp, [esp]
lea ecx, [esp + 0x98]
push ecx
mov eax, ebp
call fcn.005d3aa0
add esp, 4
test eax, eax
jg 0x5d3c70
jmp 0x5d3dbc
lea edx, [esp + 0x98]
push edx
mov eax, ebp
call fcn.005d3aa0
add esp, 4
test eax, eax
jle 0x5d3cb8
push 0xb
lea eax, [esp + 0x9c]
push str.NETSCAPE2.0
push eax
call fcn.0062886f
add esp, 0xc
lea ecx, [esp + 0x98]
push ecx
mov eax, ebp
call fcn.005d3aa0
add esp, 4
test eax, eax
jle 0x5d3dbc
lea edx, [esp + 0x98]
push edx
mov eax, ebp
call fcn.005d3aa0
add esp, 4
test eax, eax
jg 0x5d3cd2
jmp 0x5d3dbc
lea eax, [esp + 0x98]
push eax
mov eax, ebp
xor ebx, ebx
call fcn.005d3aa0
mov esi, eax
add esp, 4
test esi, esi
jle 0x5d3dbc
jmp 0x5d3d10
test ebx, ebx
jne 0x5d3d29
lea ecx, [esi + 1]
push ecx
call fcn.00612a1b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5d3d29
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 0x5d3d40
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x5d3d52
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.005d3aa0
mov esi, eax
add esp, 4
test esi, esi
jg 0x5d3d10
test ebx, ebx
je 0x5d3dbc
push ebx
call fcn.0062414c
add esp, 4
jmp 0x5d3dbc
lea eax, [esp + 0x98]
push eax
mov eax, ebp
call fcn.005d3aa0
add esp, 4
test eax, eax
jg 0x5d3d91
test byte [esp + 0x98], bl
je 0x5d3dbc
movzx ecx, byte [esp + 0x9b]
mov dword [esp + 0x68], ecx
cmp byte [esp + 0x11], 0x2c
jne 0x5d3c10
lea edx, [esp + 0x78]
mov edi, 1
push edx
mov esi, ebp
lea ebx, [edi + 1]
call fcn.005d36b0
lea eax, [esp + 0x80]
push eax
call fcn.005d36b0
lea ecx, [esp + 0x20]
push ecx
call fcn.005d36b0
lea edx, [esp + 0x28]
push edx
call fcn.005d36b0
lea eax, [esp + 0x22]
push eax
mov ebx, edi
call fcn.005d36b0
mov cl, byte [esp + 0x26]
add esp, 0x14
test cl, cl
js 0x5d3e3b
mov ebp, dword [esp + 0x30]
jmp 0x5d3e44
mov esi, ebp
call fcn.005d3610
xor eax, eax
mov ecx, dword [esp + 0x718]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00626d59
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.00612a1b
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 0x5d3e20
cmp word [esp + 0x1c], 0
je 0x5d3e20
test al, al
js 0x5d3ecf
mov ecx, dword [esp + 0x24]
xor edx, edx
test ebp, ebp
jle 0x5d3f3e
jmp 0x5d3ea0
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 0x5d3ea0
jmp 0x5d3f3e
lea edi, [ebp + ebp*2]
push edi
call fcn.00612a1b
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0x38], ebx
call fcn.005d3680
push ebx
mov ebx, 1
call fcn.005d36b0
mov ecx, dword [esp + 0x3c]
add esp, 8
xor edx, edx
test ebp, ebp
jle 0x5d3f31
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 0x5d3f04
mov edx, dword [esp + 0x34]
push edx
call fcn.0062414c
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5d3f4f
push eax
call fcn.00624291
add esp, 4
push pe_nt_image_headers32
call fcn.00612a1b
push 0x2000
mov dword [esp + 0x3c], eax
call fcn.00612a1b
push 0x1000
mov dword [esp + 0x30], eax
call fcn.00612a1b
push 0x1001
mov dword [esp + 0x3c], eax
call fcn.00612a1b
mov esi, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x33]
mov edi, 1
push eax
mov ebx, edi
call fcn.005d36b0
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 0x5d3fe3
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 0x5d3fd3
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.00612a1b
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 0x5d42d2
jmp 0x5d4050
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 0x5d422a
mov esi, dword [esp + 0x48]
jmp 0x5d4080
cmp edi, dword [esp + 0x5c]
jne 0x5d41ea
cmp dword [esp + 0x3c], esi
jge 0x5d40f1
cmp dword [esp + 0x4c], 0
jne 0x5d40c7
mov esi, dword [esp + 0x38]
call fcn.005d3680
mov eax, dword [esp + 0x34]
push eax
mov eax, esi
call fcn.005d3aa0
add esp, 4
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x5d4225
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 0x5d4216
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 0x5d4225
mov edx, dword [esp + 0x64]
lea ecx, [edx + 1]
cmp eax, ecx
je 0x5d4225
cmp eax, edx
jne 0x5d4148
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 0x5d4216
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
jne 0x5d416a
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 0x5d4216
cmp eax, ebp
mov dword [esp + 0x80], eax
jl 0x5d4180
mov al, byte [esp + 0x13]
mov byte [edi], al
add edi, 1
mov eax, ecx
cmp eax, edx
jl 0x5d41a0
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 0x5d4184
mov ecx, dword [esp + 0x44]
cmp ebp, 0x1000
mov edx, dword [esp + 0x2c]
mov al, byte [eax + edx]
mov byte [esp + 0x13], al
jge 0x5d4225
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 0x5d41df
cmp ebp, 0x1000
jge 0x5d41df
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 0x5d420a
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 0x5d4080
mov cx, word [esp + 0x1c]
cmp byte [esp + 0x2b], 0
mov edx, 1
jne 0x5d423c
add dword [esp + 0x14], edx
jmp 0x5d42b2
mov eax, dword [esp + 0x40]
sub eax, edx
je 0x5d4293
sub eax, edx
je 0x5d4273
sub eax, edx
je 0x5d426c
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 8
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42b2
add dword [esp + 0x40], edx
mov dword [esp + 0x14], 4
jmp 0x5d42b2
add dword [esp + 0x14], 2
jmp 0x5d42b2
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 4
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42b2
mov dword [esp + 0x40], 3
mov dword [esp + 0x14], edx
jmp 0x5d42b2
mov eax, dword [esp + 0x14]
movsx esi, cx
add eax, 8
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x5d42b2
mov eax, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
movsx eax, word [esp + 0x18]
cmp dword [esp + 0x58], eax
jl 0x5d42d2
mov eax, dword [esp + 0x74]
add eax, edx
movsx edx, cx
cmp eax, edx
mov dword [esp + 0x74], eax
jl 0x5d4050
mov eax, dword [esp + 0x5c]
push eax
call fcn.0062414c
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0062414c
mov edx, dword [esp + 0x2c]
push edx
call fcn.0062414c
mov eax, dword [esp + 0x40]
push eax
call fcn.0062414c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0062414c
push 0x10
call fcn.00624227
add esp, 0x18
test eax, eax
je 0x5d431b
call fcn.005d36f0
mov edi, eax
jmp 0x5d431d
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.005d3610
mov eax, edi
jmp 0x5d3e22