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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, ecx
mov byte [esp + 3], 0
xor ecx, ecx
mov dword [esp + 4], eax
push esi
push edi
mov edi, dword [eax + 8]
mov esi, edx
mov dword [esp + 0x44], ecx
mov ecx, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], edi
call fcn.0048f060
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov esi, dword [esi + 0x14]
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x3c], eax
cmp esi, eax
jae 0x4c4ba1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
or eax, dword [edi + 4]
mov edi, dword [esp + 0x2c]
jne 0x4c4a34
test byte [esi + 0x14], 2
jne 0x4c4a34
test byte [ecx + 4], 1
jne 0x4c4a34
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov edx, ecx
movq qword [esp + 0x70], xmm0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0
mov eax, dword [eax + 0x30]
mov byte [esp + 0x74], 3
mov dword [esp + 0x64], 0x48eba0
mov dword [esp + 0x68], 0x48ecb0
mov dword [esp + 0x78], eax
call fcn.0048aa60
cmp byte [esp + 0x74], 0
je 0x4c4a30
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
push 0
push 0
mov ecx, dword [ecx]
call fcn.0048dd10
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.0048d830
add esp, 0xc
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 0x30]
jne 0x4c4b8a
test byte [esi + 0x12], 0x82
je 0x4c4b8a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4c4b8a
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x4c4b8a
mov eax, dword [ebp + 8]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0xa], al
call fcn.0048d110
movsx eax, al
sub eax, 0x41
je 0x4c4aaf
dec eax
je 0x4c4a9d
xor eax, eax
cmp byte [esp + 0xa], 0x43
setge al
jmp 0x4c4aa7
xor eax, eax
cmp byte [esp + 0xa], 0x42
sete al
test eax, eax
je 0x4c4b86
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], ecx
cmp ecx, 0x40
jl 0x4c4acd
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], SysStringLen
jmp 0x4c4af0
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x34], ecx
cmovae edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
cmp byte [esp + 0xb], 0
jne 0x4c4b1c
mov edx, dword [esp + 0x30]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.0045be30
add esp, 0x10
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
and eax, edx
and ecx, dword [esp + 0x20]
or ecx, eax
jne 0x4c4b8a
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.004c5ad0
add esp, 4
test eax, eax
jne 0x4c54b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x34]
or edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jmp 0x4c4b8e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add esi, 0x30
cmp esi, dword [esp + 0x3c]
jb 0x4c4995
mov esi, dword [esp + 0x20]
jmp 0x4c4ba5
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
not esi
not edx
or edx, 0x80000000
mov word [eax + 0x28], cx
mov word [eax + 0x18], cx
mov dword [eax + 0x24], 0x4241
mov eax, dword [ebp + 8]
and esi, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
and edx, ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x54], ecx
movzx edx, word [eax + 0x22]
mov eax, 0x3f
mov dword [esp + 0x48], edx
cmp ax, dx
jge 0x4c4bf7
mov dword [esp + 0x34], eax
jmp 0x4c4c02
movsx eax, dx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4c4c3e
mov edi, dword [esp + 0x34]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x18]
or edx, ecx
je 0x4c4c2d
inc dword [esp + 0x10]
inc esi
cmp esi, edi
jl 0x4c4c06
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [esp + 0x10]
je 0x4c4c5a
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x54]
push eax
lea edx, [ecx + 1]
push 0
mov ecx, dword [esi]
call fcn.0049ad30
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4c54b4
mov ecx, dword [esp + 0x24]
xor esi, esi
xorps xmm0, xmm0
mov dword [esp + 0x28], esi
movlpd qword [esp + 0x48], xmm0
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x30]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x3c]
jae 0x4c4e16
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp eax, dword [edx + 0x30]
jne 0x4c4e01
test byte [edi + 0x12], 0x82
je 0x4c4e01
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4c4e01
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x4c4e01
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [edi]
mov byte [esp + 0xb], al
call fcn.0048d110
movsx eax, al
sub eax, 0x41
je 0x4c4d45
dec eax
je 0x4c4d33
xor eax, eax
cmp byte [esp + 0xb], 0x43
setge al
jmp 0x4c4d3d
xor eax, eax
cmp byte [esp + 0xb], 0x42
sete al
test eax, eax
je 0x4c4dfe
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp ecx, 0x40
jl 0x4c4d56
mov edx, SysReAllocString
jmp 0x4c4d69
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [esp + 0x48], eax
and ecx, dword [esp + 0x28]
mov eax, edx
and eax, dword [esp + 0x38]
or ecx, eax
mov dword [esp + 0x54], edx
jne 0x4c4dfe
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov ax, word [edi + 0xc]
mov word [ecx + esi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x54], eax
test dword [edx + 4], 0x100
jne 0x4c4ddf
test eax, eax
je 0x4c4dce
test dword [eax + 4], 0x100
je 0x4c4dce
mov edx, eax
jmp 0x4c4ddf
mov ecx, dword [esp + 0xc]
call fcn.0048cf80
test eax, eax
jne 0x4c4df1
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0xc]
call fcn.0048cf80
mov ecx, 0x566a64
test eax, eax
je 0x4c4df3
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], ecx
inc esi
mov edx, dword [ebp + 8]
add edi, 0x30
cmp edi, dword [esp + 0x3c]
jb 0x4c4cd0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x4c4e6a
mov edi, dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x18]
or edx, ecx
je 0x4c4e5b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov word [eax + edi*2], si
mov eax, dword [ecx + 0x20]
mov dword [eax + edi*4], 0x566a64
inc edi
inc esi
cmp esi, dword [esp + 0x34]
jl 0x4c4e22
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x4c4eb4
mov eax, dword [esp + 0x30]
mov ecx, 0x3f
cmp cx, word [eax + 0x22]
jge 0x4c4eb4
mov edi, eax
mov eax, dword [edx + 4]
mov word [eax + esi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], 0x566a64
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x4c4e95
mov edi, dword [esp + 0x2c]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax + esi*4], 0x566a64
mov eax, dword [ecx + 0x48]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x14]
inc dword [ecx + 0x48]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x20]
inc edx
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4c4f0a
push 0
push edx
push dword [esp + 0x5c]
mov edx, 0x38
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4c4f41
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
call fcn.0049d1c0
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
cmp byte [edx + 0x45], 0
je 0x4c4f7b
push ecx
mov ecx, dword [esp + 0x58]
mov edx, 0xfffffffa
call fcn.00479ca0
add esp, 4
jmp 0x4c4fb1
mov eax, dword [eax + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x4c4fa6
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x44]
mov edx, eax
call fcn.00479ec0
add esp, 8
jmp 0x4c4fb1
test ecx, ecx
je 0x4c4fb1
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x6c]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x40]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, 8
add eax, ecx
mov dword [esp + 0x3c], eax
test byte [eax + 0x28], 0x10
je 0x4c50f6
mov edx, dword [eax + 0x1c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x58], ecx
jg 0x4c5016
push 0
push 0
push 0
mov edx, 0x16
mov ecx, edi
call fcn.004791e0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4c504d
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4c507b
push dword [esp + 0x54]
mov ecx, edi
push 0
push edx
mov edx, 0x10
call fcn.004791e0
add esp, 0xc
jmp 0x4c50ae
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x58], edx
jg 0x4c50de
mov edx, dword [esp + 0x40]
mov ecx, edi
push 0
push 0
push edx
mov edx, 0x12
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4c515d
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x12
jmp 0x4c513c
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x58], edx
jg 0x4c5126
push 0
push 0
push ecx
mov edx, 0x6c
mov ecx, edi
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4c515d
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
cmp dword [esp + 0x14], 0
je 0x4c51da
mov edx, dword [edi + 0x18]
mov dword [esp + 0x54], edx
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x58], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4c51a5
mov edx, dword [edx + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x54]
push 0
push eax
mov ecx, dword [ecx]
call fcn.0045a1b0
mov edx, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x78]
test eax, eax
je 0x4c51b3
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
sub eax, ecx
mov ecx, dword [esp + 0xc]
push 0x10
push eax
mov dword [esp + 0x60], eax
call fcn.004925d0
mov eax, dword [esp + 0x2c]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4c51ed
inc dword [ecx + 0x4c]
mov eax, dword [ecx + 0x4c]
jmp 0x4c51f9
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x1c]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.0049f380
mov ecx, dword [edi + 0x18]
add esp, 0x18
mov edx, dword [edi + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x58], edx
jg 0x4c524a
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x6e
call fcn.004791e0
add esp, 0xc
jmp 0x4c5281
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4c5297
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
cmp dword [esp + 0x14], 0
je 0x4c52c1
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4c52ba
mov eax, dword [esp + 0x58]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [esp + 0x3c]
test byte [edx + 0x28], 0x10
je 0x4c5380
mov ecx, dword [esp + 0x44]
test ecx, ecx
jns 0x4c52db
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4c52ea
mov ecx, 0x5a2a64
jmp 0x4c52f3
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
add eax, esi
mov esi, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push 1
push dword [edx + 0x20]
mov edx, esi
push dword [eax + 4]
call fcn.004c4810
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4c5343
push 0
push esi
push 0
mov edx, 0xd
mov ecx, edi
call fcn.004791e0
mov eax, dword [esp + 0x48]
add esp, 0xc
and dword [eax + 0x28], 0xffffffef
jmp 0x4c53eb
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
and dword [eax + 0x28], 0xffffffef
jmp 0x4c53eb
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea edx, [esi + 1]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4c53b4
push 0
push edx
push dword [esp + 0x60]
mov edx, 7
mov ecx, edi
call fcn.004791e0
add esp, 0xc
jmp 0x4c53eb
mov esi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4c5401
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 3
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [edi + 0x20]
test esi, esi
jns 0x4c5415
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4c5424
mov eax, 0x5a2a64
jmp 0x4c542d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c5470
mov al, byte [esi + 0x13]
mov byte [esp + 0xb], al
cmp al, 8
jae 0x4c5470
xor ecx, ecx
lea eax, [esi + 0x7c]
lea esp, [esp]
cmp dword [eax + 0xc], edx
je 0x4c546c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4c5450
movzx eax, byte [esp + 0xb]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x4c5470
mov byte [eax + 6], 1
mov ecx, esi
call fcn.004906e0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x4c548f
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4c54a1
mov eax, 0x5a2a64
mov dword [eax + 8], edx
jmp 0x4c54b4
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c54b4
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov esi, dword [esi]
test edi, edi
je 0x4c5669
test dword [edi + 4], 0x4000
jne 0x4c55b7
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.0048dbe0
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.0048dbe0
test dword [edi + 4], 0x10000
je 0x4c5598
mov edi, dword [edi + 8]
test edi, edi
je 0x4c5594
test esi, esi
je 0x4c553c
cmp dword [esi + 0x1c8], 0
je 0x4c5516
mov edx, edi
mov ecx, esi
call fcn.00459cc0
jmp 0x4c5594
cmp edi, dword [esi + 0x120]
jb 0x4c553c
cmp edi, dword [esi + 0x124]
jae 0x4c553c
mov eax, dword [esi + 0x11c]
mov dword [edi], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edi
jmp 0x4c5594
cmp dword [0x58c138], 0
je 0x4c558a
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4c5558
push eax
call dword [0x58c190]
add esp, 4
push edi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push edi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4c5594
push eax
call dword [0x58c198]
jmp 0x4c5591
push edi
call dword [0x58c164]
add esp, 4
mov edi, dword [esp + 0x14]
test dword [edi + 4], 0x800
mov ecx, esi
mov edx, dword [edi + 0x14]
je 0x4c55b2
push 1
call fcn.004ae290
add esp, 4
jmp 0x4c55b7
call fcn.0048e9f0
test dword [edi + 4], 0x8000
jne 0x4c5669
test esi, esi
je 0x4c560a
cmp dword [esi + 0x1c8], 0
je 0x4c55e0
mov edx, edi
mov ecx, esi
call fcn.00459cc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x120]
jb 0x4c560a
cmp edi, dword [esi + 0x124]
jae 0x4c560a
mov eax, dword [esi + 0x11c]
mov dword [edi], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x58c138], 0
je 0x4c565f
mov eax, dword [0x5a22a8]
test eax, eax
je 0x4c5626
push eax
call dword [0x58c190]
add esp, 4
push edi
call dword [0x58c16c]
sub dword [0x5a22e8], eax
add esp, 4
dec dword [0x5a230c]
push edi
call dword [0x58c164]
mov eax, dword [0x5a22a8]
add esp, 4
test eax, eax
je 0x4c5669
push eax
call dword [0x58c198]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x58c164]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret