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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
cmp eax, ecx
mov dword [esp + 0xd0], ecx
je 0x1004c8f8
mov dword [esp + 0xd4], eax
mov eax, dword [eax]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x94], eax
call fcn.1006c7f8
mov ecx, eax
mov eax, 4
push eax
push 0xc
call fcn.10043e4c
mov dword [eax], eax
lea esi, [esp + 0x40]
mov edi, 0x10
mov dword [eax + 4], eax
mov dword [esp + 0x38], eax
mov ebx, 0
mov eax, 0x3f800000
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x30], eax
mov ecx, esi
push edi
call fcn.1004edb0
mov eax, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
push edi
call fcn.1004ece0
mov eax, 7
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
mov eax, 8
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x54], eax
call fcn.1006c7f8
mov ecx, eax
mov eax, 4
push eax
push edi
call fcn.10043e4c
mov dword [eax], eax
lea esi, [esp + 0x70]
mov dword [esp + 0x68], eax
mov dword [eax + 4], eax
mov eax, 0x3f800000
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x60], eax
mov ecx, esi
push edi
call fcn.1004edb0
mov eax, dword [esp + 0x68]
mov ecx, esi
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.1004ece0
mov eax, 7
xorps xmm0, xmm0
mov dword [esp + 0x80], eax
mov eax, 8
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x84], eax
call fcn.1006c7f8
mov ecx, eax
mov eax, 4
push eax
push 0x18
call fcn.10043e4c
mov dword [eax], eax
lea esi, [esp + 0xb0]
mov dword [esp + 0xa8], eax
mov dword [eax + 4], eax
mov eax, 0x3f800000
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0xa0], eax
mov ecx, esi
push edi
call fcn.1004edb0
mov eax, dword [esp + 0xa8]
mov ecx, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.1004ece0
mov ecx, dword [0x1020c8bc]
mov eax, 7
mov edx, 8
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
test ecx, ecx
mov dword [esp + 0xd8], ecx
je 0x1004c812
mov eax, dword [esp + 0x94]
lea eax, [eax + 0x54]
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x58]
jmp 0x1004c7f0
lea ecx, [eax - 4]
test eax, eax
mov dword [esp + 0xe8], eax
cmove ecx, eax
cmp byte [ecx + 0x14], 0
jne 0x1004c7e6
cmp dword [ecx + 0xc], 2
jne 0x1004c7e6
cmp byte [ebp + 8], 0
mov dword [esp + 0x20], ecx
jne 0x1004c332
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
and esi, dword [esp + 0x80]
mov edx, dword [eax + esi*8]
lea esi, [esi + esi + 1]
mov dword [esp + 0xc], esi
mov esi, edx
jmp 0x1004c049
mov esi, dword [esi]
cmp edx, ecx
mov ebx, edx
je 0x1004c058
mov ebx, dword [esp + 0xc]
mov ebx, dword [eax + ebx*4]
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1004c0c7
cmp dword [esi + 8], edi
jne 0x1004c047
cmp ecx, esi
je 0x1004c0c7
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
and eax, dword [esp + 0x80]
mov edi, dword [esp + 0x74]
lea edx, [eax + eax]
lea ecx, [edi + eax*8]
cmp dword [edi + edx*4 + 4], esi
mov ebx, dword [ecx]
je 0x1004c08e
cmp ebx, esi
jne 0x1004c0b4
mov eax, esi
jmp 0x1004c0b0
cmp ebx, esi
je 0x1004c09b
lea ecx, [edi + edx*4 + 4]
lea eax, [esi + 4]
jmp 0x1004c0b0
mov edx, dword [esp + 0x68]
mov dword [ecx], edx
lea ecx, [eax + eax + 1]
lea eax, [esp + 0x68]
shl ecx, 2
add ecx, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
dec dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
and eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], eax
mov eax, ebx
jmp 0x1004c0fb
mov eax, dword [eax]
cmp ebx, ecx
mov esi, ebx
je 0x1004c10a
mov esi, dword [esp + 0xc]
mov esi, dword [edx + esi*4]
mov esi, dword [esi]
cmp esi, eax
lea esi, [esp + 0x30]
je 0x1004c332
cmp dword [eax + 8], edi
jne 0x1004c0f9
cmp ecx, eax
je 0x1004c332
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp ecx, eax
mov dword [esp + 0xe0], eax
je 0x1004c332
mov eax, dword [ecx]
mov dword [esp + 0xe4], ecx
mov ecx, esi
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.1004f58e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edi, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x9c], eax
mov eax, ecx
mov ebx, edi
jmp 0x1004c17a
mov ebx, dword [ebx]
mov eax, dword [esp + 0xc]
cmp edi, eax
mov eax, edi
je 0x1004c190
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp eax, ebx
je 0x1004c20e
mov al, 1
lea edx, [ebx + 8]
mov ecx, esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
call fcn.1004f5f2
add esp, 4
test al, al
jne 0x1004c174
mov ecx, ebx
jmp 0x1004c1b6
mov ecx, dword [ecx]
mov eax, dword [esp + 0xc]
cmp edi, eax
mov eax, edi
je 0x1004c1d0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x9c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1004c1f0
lea eax, [ecx + 8]
mov esi, ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x28]
push eax
call fcn.1004f5f2
mov ecx, esi
add esp, 4
test al, al
je 0x1004c1b4
cmp ebx, ecx
mov eax, ebx
je 0x1004c21a
mov eax, dword [eax]
cmp ecx, eax
jne 0x1004c1f6
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x30]
mov dword [esp + 0x10], 0
jmp 0x1004c226
mov al, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
jmp 0x1004c222
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x30]
mov ebx, eax
mov ecx, eax
cmp ecx, eax
jne 0x1004c295
cmp dword [eax], ebx
jne 0x1004c295
mov dword [ecx], ecx
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x1004c24d
mov ebx, dword [ebx]
cmp ebx, eax
jne 0x1004c247
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
sar ecx, 2
cmp ecx, 0xf
ja 0x1004c26c
lea ecx, [esp + 0x40]
push 0x10
call fcn.1004edb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
push 0x10
call fcn.1004ece0
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], 8
jmp 0x1004c31b
cmp byte [esp + 0x10], 0
mov dword [esp + 0x2c], ecx
jne 0x1004c31b
mov eax, dword [ebx]
lea edx, [ebx + 8]
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.1004f58e
mov edi, dword [esp + 0x44]
lea edx, [eax + eax]
lea ecx, [edi + eax*8]
cmp dword [edi + edx*4 + 4], ebx
mov esi, dword [ecx]
je 0x1004c2ce
cmp esi, ebx
lea esi, [esp + 0x30]
jne 0x1004c2fc
mov eax, ebx
jmp 0x1004c2f8
cmp esi, ebx
je 0x1004c2df
lea ecx, [edi + edx*4 + 4]
lea eax, [ebx + 4]
lea esi, [esp + 0x30]
jmp 0x1004c2f8
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x30]
mov dword [ecx], edx
lea ecx, [eax + eax + 1]
lea eax, [esp + 0x38]
shl ecx, 2
add ecx, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov ebx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x2c]
dec dword [esp + 0x3c]
cmp eax, ebx
jne 0x1004c2a0
mov ecx, dword [esp + 0xe4]
add ecx, 4
cmp ecx, dword [esp + 0xe0]
jne 0x1004c138
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x28]
cmp dword [edx + 0x2c], eax
je 0x1004c475
xor esi, esi
mov ecx, dword [eax + esi*4]
mov edx, 0
mov dword [esp + 0x10], esi
mov eax, dword [ecx + 8]
add eax, 0xffffffee
cmp eax, 0xf
cmovae ecx, edx
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x1004c459
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
and ecx, dword [esp + 0x80]
mov esi, dword [eax + ecx*8]
lea ecx, [ecx + ecx + 1]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov ebx, esi
jmp 0x1004c393
mov ebx, dword [ebx]
cmp esi, edx
mov edi, esi
je 0x1004c3a2
mov edi, dword [esp + 0xc]
mov edi, dword [eax + edi*4]
mov edi, dword [edi]
cmp edi, ebx
je 0x1004c459
cmp dword [ebx + 8], ecx
jne 0x1004c391
cmp edx, ebx
je 0x1004c459
mov eax, dword [ecx]
call dword [eax + 0x10]
and eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x24]
mov esi, dword [ecx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], eax
mov eax, esi
jmp 0x1004c3e0
mov eax, dword [eax]
cmp esi, edx
mov edi, esi
je 0x1004c3ef
mov edi, dword [esp + 0xc]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi]
cmp edi, eax
je 0x1004c407
cmp dword [eax + 8], ebx
jne 0x1004c3de
cmp edx, eax
je 0x1004c407
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
jmp 0x1004c448
lea eax, [esp + 0x24]
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x101d6920
push dword [edx]
call fcn.1004f7f4
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x14]
mov eax, dword [eax]
push eax
add eax, 8
push eax
call fcn.1004f670
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x28]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
inc esi
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x1004c344
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
call fcn.1004f58e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov esi, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov ebx, esi
jmp 0x1004c4a7
mov ebx, dword [ebx]
cmp esi, dword [esp + 0xc]
mov eax, esi
je 0x1004c4bc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp eax, ebx
je 0x1004c56e
lea edi, [ebx + 8]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
mov edx, edi
push eax
call fcn.1004f5f2
add esp, 4
test al, al
jne 0x1004c4a5
lea esi, [esp + 0x30]
lea edx, [esp + 0x14]
mov ecx, esi
push edi
call fcn.1004f5f2
add esp, 4
mov ecx, dword [esp + 0xc]
test al, al
cmovne ebx, ecx
cmp ebx, ecx
je 0x1004c572
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
and eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
mov ebx, dword [ecx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0xc], eax
mov eax, ebx
jmp 0x1004c53c
mov eax, dword [eax]
cmp ebx, edx
mov edi, ebx
je 0x1004c54b
mov edi, dword [esp + 0xc]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi]
cmp edi, eax
je 0x1004c652
cmp dword [eax + 8], esi
jne 0x1004c53a
cmp edx, eax
je 0x1004c652
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
jmp 0x1004c693
lea esi, [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, esi
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.1004f58e
mov edi, eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov esi, dword [eax + edi*8]
add edi, edi
mov dword [esp + 0xc], ebx
cmp esi, ebx
je 0x1004c5ab
lea ecx, [edi*4]
or ecx, 4
mov eax, dword [eax + ecx]
mov ebx, dword [eax]
cmp esi, ebx
je 0x1004c5cf
mov ebx, dword [ebx + 4]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
lea eax, [ebx + 8]
push eax
call fcn.1004f5f2
add esp, 4
test al, al
jne 0x1004c5ab
jmp 0x1004c6c0
lea ecx, [esp + 0x34]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call fcn.1004f52c
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx]
mov ecx, dword [eax]
cmp ecx, esi
je 0x1004c614
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov edx, dword [esi + 4]
mov dword [edx], eax
mov ebx, dword [ecx + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
lea ecx, [ecx + edi*4]
mov edx, dword [ecx]
cmp edx, ebx
je 0x1004c69f
cmp edx, esi
je 0x1004c6b1
mov edx, dword [esp + 0xc]
or edi, 1
mov ecx, dword [edx + edi*4]
mov ecx, dword [ecx]
mov dword [edx + edi*4], ecx
cmp ecx, eax
lea ecx, [esp + 0x30]
je 0x1004c6bb
mov eax, dword [esp + 0x44]
lea edi, [eax + edi*4]
mov eax, dword [edi]
mov eax, dword [eax + 4]
jmp 0x1004c6b9
lea eax, [esp + 0x24]
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x101d6920
push dword [edx]
call fcn.1004f7f4
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x14]
mov eax, dword [eax]
push eax
add eax, 8
push eax
call fcn.1004f670
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
jmp 0x1004c7e6
shl edi, 2
mov dword [ecx], eax
lea ecx, [esp + 0x30]
or edi, 4
add edi, dword [esp + 0x44]
jmp 0x1004c6b9
mov ebx, ecx
lea ecx, [esp + 0x30]
mov edi, ebx
mov dword [edi], eax
call fcn.1004f8f4
cmp byte [ebp + 8], 0
mov ecx, dword [esp + 0x20]
jne 0x1004c7e6
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
cmp edx, eax
je 0x1004c7e6
xor edi, edi
mov ecx, dword [eax + edi*4]
mov ebx, 0
mov esi, dword [ecx + 8]
add esi, 0xffffffee
cmp esi, 0xf
cmovae ecx, ebx
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x1004c7d6
mov eax, dword [ecx]
mov dword [esp + 0x10], edi
call dword [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x24]
and ecx, dword [esp + 0xc0]
mov edi, dword [eax + ecx*8]
lea ecx, [ecx + ecx + 1]
mov dword [esp + 0xc], ecx
mov ecx, edi
jmp 0x1004c733
mov ecx, dword [ecx]
cmp edi, edx
mov ebx, edi
je 0x1004c742
mov ebx, dword [esp + 0xc]
mov ebx, dword [eax + ebx*4]
mov ebx, dword [ebx]
cmp ebx, ecx
je 0x1004c75a
cmp dword [ecx + 8], esi
jne 0x1004c731
cmp edx, ecx
je 0x1004c75a
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 0
jmp 0x1004c7a4
lea eax, [esp + 0x24]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x101d6920
push dword [edx]
call fcn.1004fbd4
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x14]
mov eax, dword [eax]
push eax
add eax, 8
push eax
call fcn.1004fa4a
add esp, 8
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x1004c7c2
mov dword [edx], esi
add dword [ecx + 0x10], 4
jmp 0x1004c7d0
lea edx, [esp + 0x14]
add ecx, 0xc
push edx
push eax
call fcn.100034fe
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov ecx, edx
inc edi
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x1004c6de
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x98]
jne 0x1004bfe8
mov eax, dword [esp + 0xdc]
inc eax
cmp eax, dword [esp + 0xd8]
jne 0x1004bfd2
cmp dword [esp + 0xb4], 0
je 0x1004c833
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0xa8]
mov dword [eax + 4], eax
mov dword [esp + 0xac], 0
cmp ecx, dword [esp + 0xa8]
je 0x1004c871
mov esi, dword [ecx]
add ecx, 0xc
call fcn.100034a2
cmp esi, dword [esp + 0xa8]
mov ecx, esi
jne 0x1004c85c
cmp dword [esp + 0x74], 0
je 0x1004c886
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], ecx
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x68]
jmp 0x1004c8a5
mov eax, dword [eax]
cmp eax, ecx
jne 0x1004c8a3
cmp dword [esp + 0x44], 0
je 0x1004c8be
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], ecx
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x38]
jmp 0x1004c8dd
mov eax, dword [eax]
cmp eax, ecx
jne 0x1004c8db
mov eax, dword [esp + 0xd4]
add eax, 4
cmp eax, dword [esp + 0xd0]
jne 0x1004be2c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4