Function at 0x4e3fe0
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
push esi
push edi
mov edi, edx
mov dword [esp + 0xc], eax
mov esi, dword [eax + 8]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], esi
call fcn.004b1860
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [edi + 0x14]
mov dword [esp + 0x5c], eax
movlpd qword [esp + 0x50], xmm0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x48], ecx
cmp edi, ecx
mov eax, dword [eax + 0x40]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jae 0x4e4240
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x4e410a
test byte [edi + 0x14], 2
jne 0x4e410a
mov ecx, dword [edi]
mov dword [esp + 0x44], ecx
test byte [ecx + 4], 1
jne 0x4e4106
mov dword [esp + 0x78], eax
xorps xmm0, xmm0
mov eax, dword [edx + 0x30]
mov edx, ecx
movaps xmmword [esp + 0x60], xmm0
lea ecx, [esp + 0x60]
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x74], 3
mov dword [esp + 0x60], 0x4b1470
mov dword [esp + 0x64], 0x4b1580
mov dword [esp + 0x78], eax
call fcn.004ad790
cmp byte [esp + 0x74], 0
je 0x4e4103
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
push 0
push 0
mov ecx, dword [ecx]
call fcn.004b0670
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.004b01b0
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 8]
cmp eax, dword [edx + 0x30]
jne 0x4e422d
test byte [edi + 0x12], 0x82
je 0x4e422d
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4e4229
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x4e4229
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0x15]
mov ecx, dword [edi]
call fcn.004afb10
test eax, eax
je 0x4e4226
mov eax, dword [edi + 0xc]
cmp eax, 0x40
jl 0x4e4175
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], SysReAllocStringLen
jmp 0x4e4192
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x38], ecx
cmovae edx, ecx
mov dword [esp + 0x28], edx
cmp byte [esp + 0xb], 0
jne 0x4e41bf
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00482f10
add esp, 0x10
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
and ecx, dword [esp + 0x2c]
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x4e4226
mov eax, dword [esp + 0x14]
mov edx, esi
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.004e4f20
add esp, 4
test eax, eax
jne 0x4e4bf4
mov ecx, dword [esp + 0x14]
mov eax, esi
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x38]
or ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
jmp 0x4e422d
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add edi, 0x30
cmp edi, dword [esp + 0x48]
jb 0x4e4070
mov edi, dword [esp + 0x2c]
jmp 0x4e4244
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
not ecx
mov eax, dword [esp + 0x14]
or ecx, 0x80000000
movzx eax, ax
not edi
mov word [esi + 0x28], ax
mov word [esi + 0x18], ax
mov eax, esi
mov esi, 0x3f
mov dword [eax + 0x24], 0x4241
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
and edi, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edi
and ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
movzx ecx, word [eax + 0x22]
cmp si, cx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x18]
movzx eax, cx
jge 0x4e42a8
mov dword [esp + 0x38], 0x3f
jmp 0x4e42b6
movsx edi, cx
mov dword [esp + 0x38], edi
xor edi, edi
cmp di, ax
jge 0x4e42f8
mov esi, dword [esp + 0x38]
xor edi, edi
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x2c]
and ecx, dword [esp + 0x10]
or edx, ecx
je 0x4e42e7
inc dword [esp + 0x14]
inc edi
cmp edi, esi
jl 0x4e42c0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jg 0x4e4317
jl 0x4e4307
test edx, edx
jae 0x4e4317
movsx eax, cx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
inc eax
movzx eax, ax
mov dword [esp + 0x44], eax
cwde
lea ecx, [eax*4 + 7]
lea eax, [eax + eax*4]
and ecx, 0xfffffff8
add eax, 9
mov dword [esp + 0x3c], ecx
and eax, 0xfffffff8
add eax, ecx
cdq
add eax, 0x40
mov dword [esp + 0x40], eax
adc edx, 0
push edx
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00481060
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x4e4bf4
push dword [esp + 0x40]
push 0
push edi
call fcn.006440e0
mov eax, dword [esp + 0x50]
lea ecx, [edi + 0x40]
movsx edx, ax
add esp, 0xc
mov dword [edi + 0x20], ecx
xorps xmm0, xmm0
add ecx, dword [esp + 0x3c]
mov dword [edi + 8], ecx
lea eax, [edx + 1]
movlpd qword [esp + 0x50], xmm0
lea eax, [ecx + eax*2]
mov dword [edi + 4], eax
lea eax, [eax + edx*2]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov word [edi + 0x34], ax
dec eax
mov word [edi + 0x32], ax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [edi], str.auto_index
xor edi, edi
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x48]
jae 0x4e4519
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 0x30]
jne 0x4e4504
test byte [edx + 0x12], 0x82
je 0x4e4504
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4e4501
mov ecx, dword [edx + 0xc]
test ecx, ecx
js 0x4e4501
mov eax, dword [ebp + 8]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0x15]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
call fcn.004afb10
test eax, eax
je 0x4e44fd
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
cmp eax, 0x40
jl 0x4e4465
mov eax, SysReAllocStringLen
mov dword [esp + 0x40], eax
jmp 0x4e447e
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [esp + 0x40], ecx
mov eax, ecx
and eax, dword [esp + 0x44]
mov ecx, edx
and ecx, dword [esp + 0x3c]
or ecx, eax
jne 0x4e44fd
mov eax, dword [esp + 0x28]
or dword [esp + 0x3c], edx
mov edx, dword [esp + 0x50]
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov word [eax + edi*2], dx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x50], eax
test dword [edx + 4], 0x100
jne 0x4e44e2
test eax, eax
je 0x4e44d1
test dword [eax + 4], 0x100
je 0x4e44d1
mov edx, eax
jmp 0x4e44e2
mov ecx, dword [esp + 0xc]
call fcn.004af910
test eax, eax
jne 0x4e44f4
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
call fcn.004af910
mov ecx, str.BINARY
test eax, eax
je 0x4e44f6
mov ecx, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
add edx, 0x30
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x48]
jb 0x4e43f0
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x38], 0
jle 0x4e4566
xor esi, esi
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 + 0x2c]
and ecx, dword [esp + 0x10]
or edx, ecx
je 0x4e455b
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov word [eax + edi*2], si
mov eax, dword [ecx + 0x20]
mov dword [eax + edi*4], str.BINARY
inc edi
inc esi
cmp esi, dword [esp + 0x38]
jl 0x4e4522
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jg 0x4e45b1
jl 0x4e4577
cmp dword [eax + 0x40], 0
jae 0x4e45b1
mov eax, dword [esp + 0x34]
mov ecx, 0x3f
mov edx, dword [esp + 0x20]
cmp cx, word [eax + 0x22]
jge 0x4e45b5
mov esi, eax
nop dword [eax]
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], str.BINARY
inc edi
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4e4590
mov esi, dword [esp + 0x18]
jmp 0x4e45b5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax + edi*4], str.BINARY
mov eax, dword [ecx + 0x44]
mov dword [edx + 8], eax
inc dword [ecx + 0x44]
mov eax, dword [edx + 8]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4e4603
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4e463b
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov dword [esp + 0x50], eax
call fcn.004bf0d0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov esi, dword [edx + 4]
test esi, esi
mov ecx, dword [edx]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x18]
je 0x4e46ad
cmp byte [ecx + 0x41], 0
jne 0x4e46ad
mov edx, dword [edx + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x50]
push dword [edx + eax*4 + 0x10]
lea eax, [edx + eax*4]
movsx edx, byte [eax + 1]
mov dword [esp + 0x4c], eax
call fcn.0049dff0
mov ecx, dword [esp + 0x48]
add esp, 4
mov eax, dword [esp + 0x48]
test ecx, ecx
jne 0x4e46a4
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x4e46bb
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
jmp 0x4e46bb
push eax
mov edx, 0xfffffffa
call fcn.0049dff0
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x64]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4c]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, ecx
mov dword [esp + 0x4c], eax
test byte [eax + 0x30], 0x10
je 0x4e4822
mov eax, dword [eax + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x54], ecx
jg 0x4e471c
mov ecx, esi
call fcn.0049d5e0
test eax, eax
je 0x4e4715
mov dword [esp + 0x38], 1
jmp 0x4e4753
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x17
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 + 0x4c]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x4e4781
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4e47b8
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x11
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 [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x14], edx
cmp dword [eax + 0x54], edx
jg 0x4e47e9
mov ecx, esi
call fcn.0049d5e0
test eax, eax
je 0x4e47e2
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x4e4895
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e4895
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], edx
cmp dword [eax + 0x54], edx
jg 0x4e4856
mov ecx, esi
call fcn.0049d5e0
test eax, eax
je 0x4e484f
mov dword [esp + 0x14], 1
jmp 0x4e488d
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
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 + 0x5c]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4e491a
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x24], eax
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x24]
dec eax
test dword [esp + 0x24], eax
jne 0x4e48e4
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
lea eax, [eax*8 + 4]
push eax
call fcn.004811b0
mov ecx, dword [esp + 0x58]
add esp, 8
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4e48f6
mov ecx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
not eax
push 0x10
push eax
mov dword [esp + 0x2c], eax
call fcn.004b4b30
mov eax, dword [esp + 0x24]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4e492d
inc dword [ecx + 0x48]
mov eax, dword [ecx + 0x48]
jmp 0x4e4939
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x18]
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.004c0e60
mov ecx, dword [esi + 0x18]
add esp, 0x18
mov edx, dword [esi + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov eax, edx
cmp dword [ecx + 0x54], edx
jg 0x4e4989
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4e49be
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x6f
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 [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x4e49d6
mov eax, 0x734437
jmp 0x4e49de
mov eax, dword [esi + 4]
add eax, 0xffffffef
add eax, ecx
cmp dword [esp + 0x30], 0
mov byte [eax], 0x10
je 0x4e4a0b
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4e4a04
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov edx, dword [esp + 0x4c]
test byte [edx + 0x30], 0x10
je 0x4e4ac1
mov ecx, dword [esp + 0x38]
test ecx, ecx
jns 0x4e4a25
mov ecx, dword [esi + 0x20]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x4e4a34
mov ecx, 0x734434
jmp 0x4e4a3d
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [ecx + 8], eax
mov ecx, esi
mov eax, dword [ebp + 0x14]
push 1
push dword [edx + 0x28]
mov edx, edi
push dword [eax + 4]
call fcn.004e3f40
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4e4a84
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4e4ab7
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x50]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
and dword [ecx + 0x30], 0xffffffef
jmp 0x4e4b25
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x4e4ae6
mov ecx, esi
call fcn.0049d5e0
test eax, eax
jne 0x4e4b21
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edi + 1]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x4e4b25
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x4e4b3d
mov eax, 0x734437
jmp 0x4e4b45
mov eax, dword [esi + 4]
add eax, 0xffffffef
add eax, ecx
mov byte [eax], 3
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4e4b64
mov eax, 0x734434
jmp 0x4e4b75
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4e4bb4
mov al, byte [edi + 0x13]
mov byte [esp + 0xb], al
cmp al, 8
jae 0x4e4bb4
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x4e4bb0
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4e4b94
movzx eax, byte [esp + 0xb]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x4e4bb4
mov byte [eax + 6], 1
mov ecx, edi
call fcn.004b2d90
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x4e4bd3
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x4e4be5
mov eax, 0x734434
mov dword [eax + 8], edx
jmp 0x4e4bf8
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4e4bf8
mov edi, dword [esp + 0xc]
mov esi, dword [edi]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4e4c65
test dword [edi + 4], 0x4000
jne 0x4e4c53
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.004b0550
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.004b0550
mov eax, dword [edi + 4]
test eax, 0x10000
je 0x4e4c36
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.00480df0
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x14]
mov ecx, esi
test eax, 0x800
je 0x4e4c4e
push 1
call fcn.004cfbf0
add esp, 4
jmp 0x4e4c53
call fcn.004b12d0
test dword [edi + 4], 0x8000
jne 0x4e4c65
mov edx, edi
mov ecx, esi
call fcn.00480df0
pop edi
pop esi
mov esp, ebp
pop ebp
ret