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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push esi
push esi
push 0xf
push ebx
mov byte [esp + 0x23], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.0043c3f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x18]
lea edi, [ecx + ecx*2]
mov ecx, dword [ebp + 0x1c]
shl edi, 4
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0x50]
add edi, eax
xor ecx, ecx
add esp, 0x14
cmp eax, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
jb 0x494fa4
mov eax, edx
mov edx, dword [esp + 0x14]
mov word [eax + 0x30], dx
mov word [eax + 0x18], dx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x2c], 0x4241
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
not ecx
and ecx, eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 0x22]
not esi
or esi, 0x80000000
and esi, edx
cmp ax, 0x3f
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], eax
jle 0x49512a
mov eax, 0x3f
jmp 0x49512d
mov eax, dword [esp + 0x10]
test byte [eax + 0xa], 2
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax]
jne 0x495027
mov al, byte [ecx + 0x24]
test al, 0x40
jne 0x495027
test al, 8
je 0x494fc8
test byte [edi + 4], 1
je 0x495027
mov eax, dword [edi + 0x24]
cmp eax, dword [ecx + 0x2c]
jmp 0x494fcc
test byte [edi + 4], 1
jne 0x495027
mov ecx, dword [ecx + 0x2c]
lea edx, [esp + 0x5c]
push edi
push edx
mov word [esp + 0x78], 3
mov dword [esp + 0x68], 0x453d60
mov dword [esp + 0x6c], 0x453c30
mov dword [esp + 0x7c], ecx
call fcn.0044e710
movzx eax, word [esp + 0x78]
add esp, 8
test eax, eax
je 0x495027
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
push 0
push edi
push eax
call fcn.00452d30
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 8]
call fcn.00452860
add esp, 0x14
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00494e60
add esp, 8
test eax, eax
je 0x495104
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x18]
cmp edi, 0x40
jl 0x495064
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x80000000
jmp 0x49507a
mov eax, 1
xor edx, edx
mov ecx, edi
call sub.ntdll.dll__allshl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp byte [esp + 0xf], 0
jne 0x4950a9
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
shl edi, 4
mov edx, dword [edi + ecx]
push edx
push eax
push str.automatic_index_on__s__s_
push 0x11c
call fcn.0041bc90
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and eax, dword [esp + 0x48]
and ecx, esi
or eax, ecx
jne 0x495104
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, dword [esp + 0x28]
add eax, 1
push edx
mov dword [esp + 0x34], eax
call fcn.00496700
add esp, 4
test eax, eax
jne 0x495961
mov edx, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
or dword [esp + 0x48], edx
or esi, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
add eax, 0x30
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jb 0x494fa0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
jmp 0x494f44
movsx eax, ax
xor esi, esi
test eax, eax
mov dword [esp + 0x30], eax
jle 0x49515f
mov eax, 1
xor edx, edx
mov ecx, esi
call sub.ntdll.dll__allshl
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
or eax, edx
je 0x495156
add dword [esp + 0x14], 1
add esi, 1
cmp esi, dword [esp + 0x30]
jl 0x495137
mov ecx, dword [esp + 0x1c]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x495180
movsx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx - 0x3f]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax]
add edx, 1
push edx
xor edx, edx
call fcn.00464da0
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x495961
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x20], eax
mov dword [eax], str.auto_index
mov dword [eax + 0xc], edx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
cmp eax, edi
mov dword [esp + 0x10], eax
jae 0x495384
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x2c]
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x14], esi
jne 0x49536f
mov eax, edx
test byte [eax + 0xc], 0x82
je 0x49536f
mov dl, byte [ecx + 0x24]
test dl, 0x58
je 0x49522c
mov eax, dword [eax]
mov ecx, dword [eax + 4]
test cl, 3
je 0x49536f
cmp dword [eax + 0x24], esi
jne 0x49536f
test dl, 0x18
je 0x49522c
test cl, 2
jne 0x49536f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x49536f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
jl 0x49536f
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x10]
mov esi, dword [edi]
shl eax, 4
mov al, byte [edx + eax + 8]
mov byte [esp + 0xf], al
call fcn.00451b00
cmp al, 0x42
jl 0x495296
jne 0x495284
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
jmp 0x49528e
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
test eax, eax
je 0x49536f
mov ecx, dword [edi + 0x18]
cmp ecx, 0x40
jl 0x4952a7
xor eax, eax
mov edx, 0x80000000
jmp 0x4952b3
mov eax, 1
xor edx, edx
call sub.ntdll.dll__allshl
mov ecx, eax
and ecx, dword [esp + 0x48]
mov esi, edx
and esi, dword [esp + 0x4c]
or ecx, esi
jne 0x49536f
or dword [esp + 0x4c], edx
or dword [esp + 0x48], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [edi]
mov dx, word [edi + 0x18]
mov esi, dword [esp + 0x20]
mov word [eax + esi*2], dx
test dword [ecx + 4], 0x400
mov eax, 0x200
je 0x495312
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
test dword [ecx + 4], eax
je 0x495303
mov eax, dword [ebp + 8]
push eax
jmp 0x495345
test edi, edi
je 0x495332
test dword [edi + 4], eax
je 0x495332
mov ecx, dword [ebp + 8]
push ecx
jmp 0x495343
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
test dword [ecx + 4], eax
je 0x495323
mov edx, dword [ebp + 8]
push edx
jmp 0x495345
test edi, edi
je 0x495332
test dword [edi + 4], eax
je 0x495332
mov eax, dword [ebp + 8]
push eax
jmp 0x495343
mov esi, dword [ebp + 8]
push esi
call fcn.004518f0
add esp, 4
test eax, eax
jne 0x495351
push esi
mov ecx, edi
call fcn.004518f0
add esp, 4
test eax, eax
je 0x495355
mov eax, dword [eax]
jmp 0x49535a
mov eax, 0x4c19d4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [edx + ecx*4], eax
add ecx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x10]
add eax, 0x30
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jb 0x4951e0
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x4953cf
mov eax, 1
xor edx, edx
mov ecx, edi
call sub.ntdll.dll__allshl
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
or eax, edx
je 0x4953c2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov word [ecx + esi*2], di
mov edx, dword [eax + 0x20]
mov dword [edx + esi*4], 0x4c19d4
add esi, 1
add edi, 1
cmp edi, dword [esp + 0x30]
jl 0x495390
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x18]
and edx, 0x80000000
xor eax, eax
or eax, edx
je 0x495417
mov edx, dword [esp + 0x34]
mov eax, 0x3f
cmp word [edx + 0x22], ax
jle 0x495417
mov edi, dword [ecx + 4]
mov word [edi + esi*2], ax
mov edi, dword [ecx + 0x20]
mov dword [edi + esi*4], 0x4c19d4
movsx edi, word [edx + 0x22]
add eax, 1
add esi, 1
cmp eax, edi
jl 0x4953f4
mov dword [esp + 0x20], esi
mov edx, dword [ecx + 4]
mov word [edx + esi*2], 0xffff
mov eax, dword [ecx + 0x20]
mov dword [eax + esi*4], 0x4c19d4
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 8], ecx
add dword [esi + 0x28], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x6c]
add ecx, 1
cmp dword [ebx + 0x70], eax
jg 0x49545f
xor edi, edi
push edi
push ecx
push edx
push 0x74
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x495487
lea edi, [eax + 1]
mov dword [ebx + 0x6c], edi
mov edi, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
xor edi, edi
mov byte [eax], 0x74
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 8]
push edx
push esi
mov dword [esp + 0x40], ecx
call fcn.004671c0
add esp, 8
cmp eax, edi
je 0x4954cc
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4954b8
mov edx, 0xfffffff8
call fcn.0043cde0
jmp 0x4954cc
mov ecx, dword [edx + 0x6c]
mov edx, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov byte [ecx + 1], pe_nt_image_headers32
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
test dword [eax + 0x50], 0x80000
jne 0x49552b
add dword [esi + 0x2c], 1
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x34], ecx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x495501
push edi
push ecx
push 0x2710
push 0x4d
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x49552b
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x4d
mov word [eax + 2], di
mov dword [eax + 4], 0x2710
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebp + 0x1c]
movzx eax, byte [ecx + 0x3c]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx + 4]
lea eax, [eax + eax*8]
test byte [edx + eax*8 + 0x30], 0x20
lea eax, [edx + eax*8 + 8]
mov dword [esp + 0x30], eax
je 0x49561f
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x34], eax
jg 0x495570
push edi
push edi
push edi
push 0x47
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x495598
lea edx, [ecx + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x47
mov word [eax + 2], di
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
jg 0x4955c0
push ecx
mov ecx, dword [esp + 0x38]
push edi
push ecx
push 0xb
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x4955ea
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0xb
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x495607
mov eax, dword [esp + 0x34]
push edi
push edi
push eax
push 0xc
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x49566b
lea edx, [ecx + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0xc
jmp 0x495655
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
mov dword [esp + 0x38], eax
jg 0x49563f
push edi
push edi
push eax
push 0x24
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x49566b
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x24
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, ecx
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
je 0x49569c
add dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0x38]
push 0x10
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.004589a0
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x2c], 0x20000
mov al, byte [esi + 0x13]
test al, al
jne 0x4956b0
add dword [esi + 0x2c], 1
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], ecx
jmp 0x4956c3
sub al, 1
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0xa0]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
push edi
push edi
push edi
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
xor eax, eax
call fcn.00469140
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + 0x34]
add esp, 0x18
cmp edx, edi
mov esi, eax
mov dword [esp + 0x34], esi
je 0x495761
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x495719
push esi
push edi
push edx
push 0xb4
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x495745
mov esi, dword [ebx + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x34]
mov byte [eax], 0xb4
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
jne 0x495761
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 8]
jg 0x495787
mov eax, dword [esp + 0x14]
push edi
push eax
push ecx
push 0x8a
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x4957b1
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov byte [eax], 0x8a
mov word [eax + 2], di
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x6c]
cmp eax, edi
jle 0x4957c5
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov word [eax + edx*4 - 0x12], 0x10
cmp dword [esp + 0x2c], edi
je 0x4957f1
mov edi, dword [ebx + 0xc]
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x3c]
not eax
jns 0x4957e8
push eax
push ebx
call fcn.0043ca00
add esp, 8
jmp 0x4957f1
mov edx, dword [edi + 0x40]
mov ecx, dword [ebx + 0x6c]
mov dword [edx + eax*4], ecx
mov edx, dword [esp + 0x30]
test byte [edx + 0x28], 0x20
je 0x49589d
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x49580e
mov eax, 0x4d6798
jmp 0x49581b
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
add esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], esi
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x38]
mov edi, dword [ecx + 0x20]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, esi
call fcn.00494dd0
mov eax, dword [ebx + 0x6c]
add esp, 8
xor edi, edi
cmp dword [ebx + 0x70], eax
jg 0x49586d
push edi
push esi
push edi
push 9
mov eax, ebx
call fcn.0043c3b0
mov eax, dword [esp + 0x40]
add esp, 0x10
and dword [eax + 0x28], 0xffffffdf
jmp 0x495901
mov ecx, dword [ebx + 0x68]
lea edx, [eax + 1]
mov dword [ebx + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 9
mov word [eax + 2], di
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [esp + 0x30]
and dword [eax + 0x28], 0xffffffdf
jmp 0x495901
mov eax, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], eax
mov esi, dword [esp + 0x38]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx + 4]
lea ecx, [esi + 1]
jg 0x4958c5
xor edi, edi
push edi
push ecx
push edx
push 0x27
mov eax, ebx
call fcn.0043c3b0
add esp, 0x10
jmp 0x4958ed
lea edi, [eax + 1]
mov dword [ebx + 0x6c], edi
mov edi, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
xor edi, edi
mov byte [eax], 0x27
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x6c]
cmp eax, edi
jle 0x495901
mov edx, dword [ebx + 0x68]
lea ecx, [eax + eax*4]
mov word [edx + ecx*4 - 0x12], 3
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
je 0x495916
mov eax, 0x4d6798
jmp 0x49591f
lea eax, [esi + esi*4]
mov esi, dword [ebx + 0x68]
lea eax, [esi + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x49593f
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x49593f
movzx eax, al
mov dword [edx + eax*4 + 0xa0], ecx
add byte [edx + 0x13], 1
mov edx, dword [ebx]
cmp byte [edx + 0x57], 0
mov ecx, dword [ebx + 0x6c]
je 0x495951
mov eax, 0x4d6798
jmp 0x49595e
mov eax, dword [esp + 0x44]
mov edx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x495978
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00452b80
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret