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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, ecx
mov dword [esp + 0x40], edx
push esi
push edi
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edi, dword [eax + 8]
mov byte [esp + 0xf], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edi
test edi, edi
je 0x481bef
mov esi, edi
jmp 0x481bfc
mov ecx, eax
call fcn.0046eff0
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x54]
lea ecx, [edx + 1]
mov dword [eax + 0x54], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
cmp dword [eax + 0x58], ecx
jg 0x481c2e
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x481c61
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
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
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x14]
xor ecx, ecx
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x10]
mov edi, dword [edi + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], edi
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x44], eax
cmp esi, eax
mov eax, dword [esp + 0x54]
jae 0x481ea9
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
mov eax, dword [eax]
or eax, dword [edi + 4]
jne 0x481d40
test byte [esi + 0x14], 2
jne 0x481d40
test byte [ecx + 4], 1
jne 0x481d40
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 + 0x64], 0x44d1e0
mov dword [esp + 0x68], 0x44d2d0
mov dword [esp + 0x78], eax
call fcn.00449190
cmp byte [esp + 0x74], 0
je 0x481d3d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
push 0
push 0
mov ecx, dword [ecx]
call fcn.0044c2c0
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.0044bd10
add esp, 0xc
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edx + 0x30]
jne 0x481e8e
test byte [esi + 0x12], 0x82
je 0x481e8e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x481e8e
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x481e8e
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0xe], al
call fcn.0044b610
movsx eax, al
sub eax, 0x41
je 0x481db7
sub eax, 1
je 0x481da5
xor eax, eax
cmp byte [esp + 0xe], 0x43
setge al
jmp 0x481daf
xor eax, eax
cmp byte [esp + 0xe], 0x42
sete al
test eax, eax
je 0x481e8b
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x58], ecx
cmp ecx, 0x40
jl 0x481dd5
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0x80000000
jmp 0x481df8
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 + 0x38], ecx
cmovae edx, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], edx
cmp byte [esp + 0xf], 0
jne 0x481e24
mov edx, dword [esp + 0x34]
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.0041a6e0
add esp, 0x10
mov byte [esp + 0xf], 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
and ecx, dword [esp + 0x28]
and eax, dword [esp + 0x18]
or ecx, eax
jne 0x481e8b
mov eax, dword [esp + 0x14]
mov edx, edi
inc eax
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00482c50
add esp, 4
test eax, eax
jne 0x4827c0
mov ecx, dword [esp + 0x14]
mov eax, edi
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x481e96
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add esi, 0x30
cmp esi, dword [esp + 0x44]
jb 0x481cb2
mov esi, dword [esp + 0x28]
jmp 0x481ead
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
not eax
or eax, 0x80000000
not esi
mov word [edi + 0x28], cx
mov word [edi + 0x18], cx
mov ecx, edi
mov edi, dword [esp + 0x20]
mov dword [ecx + 0x24], 0x4241
and eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x40]
and esi, ecx
mov dword [esp + 0x18], eax
mov edx, 0x3f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], esi
movzx eax, word [eax + 0x22]
mov dword [esp + 0x58], eax
cmp dx, ax
jge 0x481f01
mov dword [esp + 0x38], edx
xor esi, esi
jmp 0x481f0e
movsx edx, ax
xor esi, esi
mov dword [esp + 0x38], edx
test edx, edx
jle 0x481f4a
mov edi, dword [esp + 0x38]
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 + 0x28]
and ecx, dword [esp + 0x18]
or edx, ecx
je 0x481f39
inc dword [esp + 0x14]
inc esi
cmp esi, edi
jl 0x481f12
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
jg 0x481f67
jl 0x481f59
test ecx, ecx
jae 0x481f67
mov ecx, dword [esp + 0x14]
cwde
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x10]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [esi]
call fcn.00459340
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4827c4
mov ecx, dword [esp + 0x24]
xor esi, esi
xorps xmm0, xmm0
mov dword [esp + 0x2c], esi
movlpd qword [esp + 0x50], xmm0
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x34]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x44]
jae 0x482128
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov edx, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
nop
mov eax, dword [edi + 8]
cmp eax, dword [edx + 0x30]
jne 0x482113
test byte [edi + 0x12], 0x82
je 0x482113
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x482113
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x482113
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 + 0xf], al
call fcn.0044b610
movsx eax, al
sub eax, 0x41
je 0x482057
sub eax, 1
je 0x482045
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
jmp 0x48204f
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
test eax, eax
je 0x482110
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp ecx, 0x40
jl 0x482068
mov edx, 0x80000000
jmp 0x48207b
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 + 0x50], eax
and ecx, dword [esp + 0x2c]
mov eax, edx
and eax, dword [esp + 0x40]
or ecx, eax
mov dword [esp + 0x58], edx
jne 0x482110
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x58]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], 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 + 0x58], eax
test dword [edx + 4], 0x100
jne 0x4820f1
test eax, eax
je 0x4820e0
test dword [eax + 4], 0x100
je 0x4820e0
mov edx, eax
jmp 0x4820f1
mov ecx, dword [esp + 0x10]
call fcn.0044b470
test eax, eax
jne 0x482103
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
call fcn.0044b470
mov ecx, 0x4f9144
test eax, eax
je 0x482105
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 + 0x44]
jb 0x481fe0
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x48217c
mov edi, dword [esp + 0x2c]
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 + 0x28]
and ecx, dword [esp + 0x18]
or edx, ecx
je 0x48216d
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], 0x4f9144
inc edi
inc esi
cmp esi, dword [esp + 0x38]
jl 0x482134
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jg 0x4821c7
jl 0x48218d
cmp dword [eax + 0x40], 0
jae 0x4821c7
mov eax, dword [esp + 0x34]
mov ecx, 0x3f
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
cmp cx, word [eax + 0x22]
jge 0x4821cf
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], 0x4f9144
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x4821a6
mov edi, dword [esp + 0x20]
jmp 0x4821cf
mov edx, dword [esp + 0x1c]
mov esi, 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 + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax + esi*4], 0x4f9144
mov eax, dword [ecx + 0x48]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x14]
inc dword [ecx + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x20]
inc edx
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x482225
push 0
push edx
push dword [esp + 0x60]
mov edx, 0x68
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x48225c
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x68
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 + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
call fcn.0045b770
mov ecx, eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov dword [esp + 0x58], edx
cmp byte [edx + 0x45], 0
je 0x482296
push ecx
mov ecx, dword [esp + 0x5c]
mov edx, 0xfffffffa
call fcn.004381b0
add esp, 4
jmp 0x4822cc
mov eax, dword [eax + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x4822c1
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.004383e0
add esp, 8
jmp 0x4822cc
test ecx, ecx
je 0x4822cc
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x6c]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x48]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, 8
add eax, ecx
mov dword [esp + 0x44], eax
test byte [eax + 0x28], 0x10
je 0x48240e
mov edx, dword [eax + 0x1c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x58], ecx
jg 0x482331
push 0
push 0
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.004376e0
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x482368
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4a
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 + 0x44]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x482396
push dword [esp + 0x58]
mov ecx, edi
push 0
push edx
mov edx, 0xf
call fcn.004376e0
add esp, 0xc
jmp 0x4823c9
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 + 0x58]
mov word [eax + ecx*4], 0xf
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 0x4823f6
mov edx, dword [esp + 0x48]
mov ecx, edi
push 0
push 0
push edx
mov edx, 0x10
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x482475
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x10
jmp 0x482454
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x58], edx
jg 0x48243e
push 0
push 0
push ecx
mov edx, 0x37
mov ecx, edi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x482475
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x37
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 + 0x30], 0
je 0x4824eb
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4824b9
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x60]
add esp, 8
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4824c7
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esp + 0x10]
not edx
push 0x10
mov dword [esp + 0x40], edx
push edx
mov edx, dword [esp + 0x38]
call fcn.00450bf0
mov eax, dword [esp + 0x2c]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4824fe
inc dword [ecx + 0x4c]
mov eax, dword [ecx + 0x4c]
jmp 0x48250a
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 + 0x4c], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.0045d9a0
mov ecx, dword [edi + 0x18]
add esp, 0x18
mov edx, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [ecx + 0x58], edx
jg 0x48255b
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x7c
call fcn.004376e0
add esp, 0xc
jmp 0x482592
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x7c
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 0x4825a8
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 + 0x30], 0
je 0x4825d2
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4825cb
mov eax, dword [esp + 0x3c]
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 + 0x44]
test byte [edx + 0x28], 0x10
je 0x482691
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jns 0x4825ec
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4825fb
mov ecx, 0x520b44
jmp 0x482604
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
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.00481ac0
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x482654
push 0
push esi
push 0
mov edx, 0xd
mov ecx, edi
call fcn.004376e0
mov eax, dword [esp + 0x50]
add esp, 0xc
and dword [eax + 0x28], 0xffffffef
jmp 0x4826fc
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 + 0x44]
and dword [eax + 0x28], 0xffffffef
jmp 0x4826fc
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 0x4826c5
push 0
push edx
push dword [esp + 0x60]
mov edx, 7
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4826fc
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 0x482712
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 0x482726
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x482735
mov eax, 0x520b44
jmp 0x48273e
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x482780
mov al, byte [esi + 0x13]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x482780
xor ecx, ecx
lea eax, [esi + 0x7c]
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x48277c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x482760
movzx eax, byte [esp + 0xf]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x482780
mov byte [eax + 6], 1
mov ecx, esi
call fcn.0044ec20
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 0x48279f
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4827b1
mov eax, 0x520b44
mov dword [eax + 8], edx
jmp 0x4827c4
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4827c4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4827d5
mov ecx, dword [esi]
mov edx, eax
call fcn.0044c120
pop edi
pop esi
mov esp, ebp
pop ebp
ret