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

Disassembly:
sub esp, 0xe08
push ebx
push edi
mov edi, dword [esp + 0xe14]
mov al, byte [edi + 0x29]
test al, al
mov ebx, ecx
mov dword [esp + 8], ebx
jne 0x4885ee
mov eax, dword [edi]
push esi
xor esi, esi
cmp eax, esi
jne 0x4885ed
push ebp
mov ecx, edi
call fcn.00462640
mov eax, dword [ebx + 0x2c]
mov ebp, 0x7fffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], ebp
mov ecx, dword [eax + 0x1ac]
cmp ecx, esi
jne 0x4880f4
mov eax, dword [eax + 0x54]
cmp eax, esi
je 0x4880ef
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x4880ef
call fcn.004781a0
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and ecx, eax
jmp 0x4880f4
mov ecx, 8
mov eax, dword [edi + 0x64]
mov dword [esp + 0x30], ecx
push 0x1fffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], 0x20000000
call fcn.00484150
mov ebp, eax
cmp ebp, 0xfffffffe
jne 0x488141
mov ecx, dword [ebx + 0x2c]
mov ecx, dword [ecx + 0xb4]
push 1
call fcn.00497f10
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4
mov ecx, dword [esp + 0x18]
add ecx, 2
lea eax, [ebp - 6]
cmp eax, 0x1e
mov dword [esp + 0x18], ecx
ja case.0x48815f.7
movzx edx, byte [eax + 0x48860c]
jmp dword [edx*4 + 0x4885fc]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x1c0]
cmp ecx, esi
je case.0x48815f.7
lea edx, [esp + 0x14]
push edx
call fcn.004c9550
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x1c0]
push esi
push edi
call fcn.004c9510
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4
cmp ebp, 0x23
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
jne 0x4881bf
lea ecx, [esp + 0x14]
call fcn.00401450
mov ecx, dword [esp + 0x18]
lea ebx, [ecx + eax]
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx]
sub ebx, ecx
mov ecx, 2
mov edi, 0x5416ec
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov dword [esp + 0x38], eax
jne 0x488242
mov esi, dword [esp + 0xe1c]
mov ecx, esi
call fcn.00462510
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
add ecx, eax
push ebx
push ecx
lea ecx, [esp + 0x4e4]
call fcn.0044dab0
lea ecx, [esp + 0x4d8]
call fcn.0044dce0
test al, al
je 0x488229
lea ecx, [esp + 0x4d8]
call fcn.0044e060
test al, al
je 0x488229
add dword [esp + 0x18], ebx
lea ecx, [esp + 0x4d8]
call fcn.0044db90
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4
push 6
push str.GIF87a
push eax
call fcn.004c9030
add esp, 0xc
test eax, eax
je 0x48826e
mov edx, dword [esp + 0x38]
push 6
push str.GIF89a
push edx
call fcn.004c9030
add esp, 0xc
test eax, eax
jne 0x4882d2
mov esi, dword [esp + 0xe1c]
mov ecx, esi
call fcn.00462510
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
add ecx, eax
push ebx
push ecx
lea ecx, [esp + 0x4e4]
call fcn.00439a80
lea ecx, [esp + 0x4d8]
call fcn.00439440
test al, al
je 0x4882b9
lea ecx, [esp + 0x4d8]
call fcn.00439b00
test al, al
je 0x4882b9
add dword [esp + 0x18], ebx
lea ecx, [esp + 0x4d8]
call fcn.00439350
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4
lea ecx, [esp + 0x80]
call fcn.004c94c0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x84]
call fcn.004c94f0
test al, al
jne 0x488318
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
call fcn.00484730
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x84]
call fcn.004c94f0
test al, al
je 0x48845a
mov edi, dword [esp + 0xe1c]
cmp ebp, 0x23
sete bl
lea ecx, [esp + 0x80]
push ebx
push edi
call fcn.004c9510
test al, al
jne 0x488359
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x2c]
call fcn.00484730
push ebx
push edi
lea ecx, [esp + 0x88]
call fcn.004c9510
test al, al
je 0x48845a
cmp ebp, 0x23
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
jne 0x48845a
lea ecx, [esp + 0x48]
call fcn.00483e40
mov ebx, dword [edi + 0x14]
imul ebx, dword [edi + 0x10]
mov ecx, edi
mov dword [edi + 0x20], 1
call fcn.004624d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 4]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
jmp 0x4883b0
cmp ebx, 0x800
lea edx, [esp + 0x4d8]
mov dword [esp + 0x54], edx
mov eax, 0x800
ja 0x4883ca
mov eax, ebx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push 0
push eax
call fcn.004c58a0
mov ecx, dword [esp + 0x5c]
add esp, 8
neg eax
sbb al, al
lea edx, [esp + 0x4d8]
inc al
sub ecx, edx
je 0x488446
cmp ebx, ecx
jge 0x4883f8
mov ecx, ebx
sub ebx, ecx
test ecx, ecx
lea edx, [esp + 0x4d8]
jle 0x48843a
mov ebp, ecx
movzx ecx, byte [edx]
movzx edi, byte [esi]
inc edx
cmp edi, ecx
jle 0x488414
mov byte [esi], cl
movzx edi, byte [esi + 1]
cmp edi, ecx
jle 0x48841f
mov byte [esi + 1], cl
movzx edi, byte [esi + 2]
cmp edi, ecx
jle 0x48842a
mov byte [esi + 2], cl
mov byte [esi + 3], cl
add esi, 4
dec ebp
jne 0x488407
mov edi, dword [esp + 0xe1c]
test al, al
je 0x488446
test ebx, ebx
jne 0x4883b0
mov ecx, edi
call fcn.004624f0
lea eax, [esp + 0x48]
push eax
call fcn.004c6ee0
add esp, 4
lea ecx, [esp + 0x80]
call fcn.004c94e0
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4
lea ecx, [esp + 0x48]
call fcn.00483e40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dl, byte [eax + ecx]
inc eax
movzx ebx, dl
xor edx, edx
lea esi, [eax + ecx]
add eax, 2
mov dword [esp + 0x18], eax
mov dh, byte [esi + 1]
mov dl, byte [esi]
lea esi, [eax + ecx]
add eax, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edx
xor edx, edx
mov dh, byte [esi + 1]
mov dl, byte [esi]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ebp, 0x24
sete dl
cmp ebx, 3
mov esi, edx
mov dword [esp + 0x38], esi
jg 0x4884d6
mov dl, byte [eax + ecx]
movzx edx, dl
inc eax
mov dword [esp + 0x18], eax
inc edx
jmp 0x4884d8
xor edx, edx
add ecx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp ebx, 3
mov dword [esp + 0x4c], ecx
jg 0x488564
test edx, edx
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x4d8], edx
je 0x488564
xor eax, eax
test esi, esi
setne al
lea esi, [esp + 0x4dd]
mov ebp, edx
add eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jle 0x48853f
lea edx, [esp + 0x48]
push 0
push edx
call fcn.004c58a0
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
jg 0x488528
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
mov dl, byte [esp + 0x12]
mov byte [esi + 1], al
mov al, byte [esp + 0x13]
mov byte [esi], cl
mov byte [esi - 1], dl
mov byte [esi + 2], al
add esi, 4
dec ebp
jne 0x488514
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp ebx, 3
setg cl
push 0
push 1
lea edx, [esp + 0x4e0]
dec ecx
and ecx, edx
push ecx
push ebp
push eax
push ebx
mov ecx, edi
call fcn.00462540
mov al, byte [edi + 0x29]
test al, al
mov dword [edi + 0x20], esi
jne 0x48859c
cmp dword [edi], 0
je 0x4885df
mov ecx, edi
call fcn.004624d0
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 4]
imul esi, ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
lea edx, [esp + 0x48]
push 0
push edx
call fcn.004c58a0
add esp, 8
test eax, eax
je 0x4885b4
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push eax
push esi
push ecx
call fcn.004626a0
add esp, 0xc
mov ecx, edi
call fcn.004624f0
lea edx, [esp + 0x48]
push edx
call fcn.004c6ee0
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xe08
ret 4