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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov ebp, dword [edi]
mov dword [esp + 0x48], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x38], ebp
call fcn.0047b830
mov edx, dword [esp + 0x18]
mov esi, eax
test byte [edx + 0x2a], 0x20
movsx eax, word [edx + 0x22]
mov dword [esp + 0x44], eax
jne 0x46e277
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], 1
jmp 0x46e2a2
mov ecx, dword [edx + 8]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x46e29a
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x46e292
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x46e282
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x46e4fd
mov eax, dword [esp + 0x70]
xor ebp, ebp
lea ebx, [eax + 1]
not eax
mov dword [esp + 0x30], eax
nop dword [eax]
lea ecx, [eax + ebx]
movsx eax, word [edx + 0x20]
cmp ecx, eax
je 0x46e4dd
mov edx, dword [edx + 4]
mov al, byte [edx + ebp + 0x14]
movzx ecx, al
test al, al
je 0x46e4d9
mov ah, byte [esp + 0x7c]
cmp ah, 0xa
jne 0x46e2f5
cmp al, ah
jne 0x46e2f5
mov edi, 2
jmp 0x46e310
cmp ah, 0xa
movzx edi, ah
cmove edi, ecx
cmp edi, 5
jne 0x46e310
cmp dword [edx + ebp + 4], 0
mov eax, 2
cmove edi, eax
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x46e31c
jmp dword [eax*4 + 0x46f414]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x198]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
jmp 0x46e343
mov ecx, dword [esp + 0x18]
push dword [edx + ebp]
push dword [ecx]
push str._s._s
push dword [esp + 0x44]
call fcn.00421400
mov ecx, dword [esi + 0x18]
add esp, 0x10
mov edx, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
cmp dword [ecx + 0x54], edx
jg 0x46e382
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46e37e
mov edx, 1
jmp 0x46e3ae
mov edx, dword [esp + 0x58]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x58]
mov ecx, esi
call fcn.0043db40
mov eax, dword [esi]
add esp, 8
mov ecx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x46e3d6
mov eax, 0x4dda1b
mov byte [eax], 1
jmp 0x46e4d9
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffef
mov byte [eax], 1
jmp 0x46e4d9
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x46e404
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46e4d9
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46e4d9
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46e45e
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46e45b
mov edi, 1
jmp 0x46e491
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 word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
push ebx
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + ebp + 4]
call fcn.00455710
mov eax, dword [esi + 0x18]
add esp, 4
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 0x46e4c5
mov eax, 0x4dda18
jmp 0x46e4d6
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 dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
inc ebx
add eax, ebx
add ebp, 0x18
cmp eax, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
jl 0x46e2c0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x46e5fd
test dword [ebp + 0x18], 0x2000
jne 0x46e5fd
mov eax, dword [esp + 0x70]
inc eax
mov dword [edi + 0x5c], eax
mov al, byte [esp + 0x7c]
movzx edi, al
cmp al, 0xa
jne 0x46e531
mov edi, 2
cmp dword [ebx], 0
mov dword [esp + 0x30], 0
jle 0x46e5fd
xor ebp, ebp
mov ecx, esi
call fcn.0043d630
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push 0x10
push eax
mov edx, dword [edx + ebp]
mov dword [esp + 0x60], eax
call fcn.00455b60
add esp, 8
cmp edi, 4
jne 0x46e636
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x46e588
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46e5c2
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x44]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46e5e2
mov eax, dword [esp + 0x58]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
add ebp, 0x18
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ebx]
jl 0x46e544
cmp byte [esp + 0x78], 0
je 0x46ea75
cmp dword [esp + 0x20], 0
jne 0x46ea75
mov ecx, esi
call fcn.0043d630
mov cl, byte [esp + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], ebp
movzx edi, byte [eax + 0x2b]
cmp cl, 0xa
je 0x46e66e
movzx edi, cl
jmp 0x46e679
mov eax, dword [ebx + 4]
mov eax, dword [eax + ebp + 4]
test eax, eax
jne 0x46e647
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push 3
cmp edi, 5
mov ecx, 2
push 0
cmove edi, ecx
mov edx, 0x113
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.00462730
add esp, 0x10
jmp 0x46e5c6
cmp edi, 0xa
mov edx, 2
cmove edi, edx
cmp dword [esp + 0x74], 0
je 0x46e6f9
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x46e69b
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46e6ce
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
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 0x46e6e6
mov eax, 0x4dda1b
jmp 0x46e6ee
mov eax, dword [esi + 4]
add eax, 0xffffffef
add eax, ecx
mov cl, byte [esp + 0x7c]
mov byte [eax], 0x90
mov eax, dword [esp + 0x18]
cmp edi, 5
jne 0x46e788
cmp cl, 5
je 0x46e788
mov eax, dword [eax + 8]
test eax, eax
je 0x46e788
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x46e728
cmp cl, 3
je 0x46e728
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x46e712
jmp 0x46e788
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [eax + 0x54], ebx
jg 0x46e751
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46e74e
mov dword [esp + 0x3c], 1
jmp 0x46e788
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x46e7a3
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46e7d6
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi - 1]
cmp eax, 4
ja case.default.0x46e7e2
jmp dword [eax*4 + 0x46f424]
mov eax, dword [esp + 0x38]
xor edi, edi
test dword [eax + 0x18], 0x40000
je 0x46e84c
mov ecx, dword [esp + 0x14]
xor ebx, ebx
xor ebp, ebp
mov eax, dword [ecx]
test dword [eax + 0x18], 0x800000
je 0x46e816
mov edx, dword [esp + 0x18]
call fcn.00483ba0
mov ebp, eax
mov edi, ebp
test ebp, ebp
je 0x46e841
nop dword [eax]
cmp byte [edi + 8], 0x6d
jne 0x46e83a
mov ecx, dword [edi + 0x10]
xor edx, edx
call fcn.00484b10
test eax, eax
je 0x46e83a
movzx eax, byte [edi + 9]
or ebx, eax
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x46e820
xor edi, edi
test ebx, ebx
cmovne edi, ebp
test edi, edi
jne 0x46e8ab
mov ebp, dword [esp + 0x18]
mov edx, ebp
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push 0
push 0
call fcn.0046ab50
add esp, 8
test eax, eax
jne 0x46e8b3
cmp dword [ebp + 8], eax
je 0x46e8f0
mov eax, dword [ebx + 0x198]
mov ecx, ebx
test eax, eax
mov edx, ebp
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [esp + 0x74]
push dword [esp + 0x74]
mov byte [ecx + 0x14], 1
mov ecx, ebx
call fcn.00465390
mov ebp, dword [esp + 0x68]
add esp, 0x10
mov dword [esp + 0x40], 1
jmp 0x46e9ba
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x198]
mov ecx, ebx
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [esp + 0x84]
test eax, eax
mov edx, ebp
push dword [esp + 0x84]
cmovne ecx, eax
push dword [esp + 0x84]
push edi
mov byte [ecx + 0x14], 1
mov ecx, ebx
call fcn.00464fa0
add esp, 0x24
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x40], 1
jmp 0x46e9ba
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46e920
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46e9ba
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46e9ba
mov edi, 2
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
movzx eax, word [edx + 0x20]
test ax, ax
js 0x46e994
cwde
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str._s._s
push dword [ebx]
call fcn.00421400
add esp, 0x10
mov edx, 0x613
jmp 0x46e9aa
push dword [edx]
push str._s.rowid
push dword [ebx]
call fcn.00421400
add esp, 0xc
mov edx, 0xa13
push 2
push 0xffffffffffffffff
push eax
push edi
mov ecx, ebx
call fcn.00462730
add esp, 0x10
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46e9d2
lea eax, [ebp*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x3c]
dec eax
mov dword [edx + 0x58], eax
test ebx, ebx
je 0x46ea75
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x48], edi
cmp dword [eax + 0x54], edi
jg 0x46ea0e
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46ea0b
mov dword [esp + 0x48], 1
jmp 0x46ea45
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 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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
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 0x46ea61
mov eax, 0x4dda18
jmp 0x46ea72
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x46f278
mov ebx, dword [esp + 0x64]
xor ecx, ecx
cmp dword [ebx + ecx*4], 0
je 0x46f264
mov ebp, dword [esp + 0x70]
inc ebp
cmp byte [esp + 0x13], 0
mov dword [esp + 0x50], ebp
jne 0x46eac2
push ebp
mov edx, eax
mov ecx, esi
call fcn.0046bab0
add esp, 4
mov byte [esp + 0x13], 1
mov ecx, esi
call fcn.0043d630
cmp dword [edi + 0x24], 0
mov dword [esp + 0x30], eax
je 0x46eb81
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov ebx, dword [ebx + eax*4]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x46eaf9
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46eb2c
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 word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
push 0
push 0
mov edi, dword [eax]
mov ecx, edi
mov dword [eax + 0x5c], ebp
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x24]
call fcn.00450aa0
add esp, 8
mov ebx, eax
cmp byte [edi + 0x41], 0
jne 0x46eb67
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push 0x10
push edx
mov edx, ebx
call fcn.00456060
add esp, 8
mov edx, ebx
mov ecx, edi
call fcn.00450900
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x5c], 0
jmp 0x46eb85
mov ebx, dword [esp + 0x14]
movzx ecx, word [edi + 0x34]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
cmp ecx, edx
jg 0x46eba3
add eax, ecx
sub edx, ecx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], edx
jmp 0x46ebb2
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], edx
mov dword [ebx + 0x48], eax
movzx eax, word [edi + 0x34]
xor edx, edx
xor edi, edi
mov dword [esp + 0x2c], edx
mov ecx, eax
cmp di, ax
jae 0x46eccf
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movsx ecx, word [eax + edx*2]
cmp ecx, 0xfffffffe
jne 0x46ec10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edi
mov dword [ecx + 0x5c], ebp
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 4]
mov edx, dword [edx + ebx]
call fcn.00455710
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0x5c], 0
jmp 0x46ecae
cmp ecx, 0xffffffff
je 0x46ec2a
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x46ec2a
mov ebp, dword [esp + 0x70]
inc ebp
add ebp, ecx
jmp 0x46ec4e
cmp dword [esp + 0x4c], edi
je 0x46ecb2
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov ebp, dword [esp + 0x70]
cmp dword [eax + 0x24], 0
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x46ec6d
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46eca6
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x50]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46ecb2
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
inc edx
add ebx, 0x18
mov dword [esp + 0x2c], edx
inc edi
mov dword [esp + 0x44], ebx
movzx ecx, word [eax + 0x34]
cmp edx, ecx
jl 0x46ebd3
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
mov edi, dword [esi + 0x20]
movzx ebp, cx
mov ebx, dword [ebx + eax*4]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x46ecf3
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46ed1f
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x28]
movzx eax, word [edi + 0x34]
push eax
call fcn.00453760
add esp, 4
cmp dword [esp + 0x74], 0
je 0x46ed76
cmp dword [esp + 0x20], edi
jne 0x46ed76
cmp byte [esp + 0x78], 0
jne 0x46ed76
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46ed6a
mov eax, dword [esp + 0x30]
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
jmp 0x46f258
movzx ebp, byte [edi + 0x36]
test ebp, ebp
jne 0x46edc6
movzx edi, word [edi + 0x34]
mov ecx, ebx
mov ebp, dword [esp + 0x28]
mov edx, ebp
push edi
call fcn.00453760
add esp, 4
cmp edi, dword [ebx + 0x38]
jle 0x46ed9e
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], ebp
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46edba
mov eax, dword [esp + 0x30]
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
jmp 0x46f254
mov al, byte [esp + 0x7c]
cmp al, 0xa
je 0x46edd3
movzx ebp, al
jmp 0x46edde
cmp ebp, 0xa
mov eax, 2
cmove ebp, eax
movzx eax, word [edi + 0x32]
mov edx, 0x44
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov ecx, esi
push dword [esp + 0x38]
add eax, dword [esp + 0x78]
push eax
mov dword [esp + 0x68], ebp
call fcn.0043d580
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp edi, eax
jne 0x46ee19
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
jmp 0x46ee4e
mov ecx, dword [ebx + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x2c], edx
cmp eax, ecx
jg 0x46ee39
add eax, edx
sub ecx, dword [esp + 0x34]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], ecx
jmp 0x46ee4a
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
add eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x74], 0
jne 0x46ee5e
cmp ebp, 5
jne 0x46f172
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x2a], 0x20
jne 0x46ef4a
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46ee87
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46eec4
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
add edx, dword [esp + 0x6c]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x71
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46eec8
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x74]
test ebp, ebp
je 0x46f172
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46eeef
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46ef1e
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x46ef36
mov eax, 0x4dda1b
mov byte [eax], 0x90
jmp 0x46f172
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffef
mov byte [eax], 0x90
jmp 0x46f172
cmp edi, eax
je 0x46f008
xor ecx, ecx
xor ebp, ebp
cmp cx, word [eax + 0x32]
jae 0x46f008
movzx edx, word [edi + 0x34]
xor ecx, ecx
test edx, edx
je 0x46ef91
mov eax, dword [eax + 4]
movzx edi, word [eax + ebp*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
nop dword [eax + eax]
cmp di, word [eax]
je 0x46f092
inc ecx
add eax, 2
cmp ecx, edx
jl 0x46ef80
or eax, 0xffffffff
mov edi, dword [esi + 0x20]
mov ecx, edi
movsx ebx, ax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x46efb2
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46efeb
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 word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], 0
add eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
add eax, ebp
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
inc ebp
mov edi, dword [esp + 0x1c]
movzx eax, word [eax + 0x32]
cmp ebp, eax
mov eax, dword [esp + 0x20]
jl 0x46ef60
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x74], 0
je 0x46f172
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x38]
and al, 3
mov dword [esp + 0x44], 0x4e
cmp al, 2
cmove edx, dword [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x46f172
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx]
mov eax, dword [eax + 0x20]
mov bl, byte [ecx + 0x91]
mov bh, byte [ecx + 0x3e]
mov dl, bh
mov edi, dword [eax + ebp*4]
movzx eax, bl
push eax
push edi
call fcn.00463520
add esp, 8
mov ecx, eax
mov dword [esp + 0x50], ecx
test bl, bl
jne 0x46f09a
test ecx, ecx
je 0x46f07e
cmp dword [ecx + 0xc], 0
jne 0x46f09a
push edi
push ecx
mov ecx, dword [esp + 0x1c]
mov dl, bh
call fcn.00463290
add esp, 8
mov ebx, eax
jmp 0x46f09e
movzx eax, cx
jmp 0x46ef94
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
movsx eax, word [eax + ebp*2]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x32]
dec eax
cmp ebp, eax
jne 0x46f0c6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 0x4f
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46f0e8
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46f0e5
mov edi, 1
jmp 0x46f12b
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 byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov byte [ecx], al
mov eax, dword [esp + 0x50]
inc eax
add eax, dword [esp + 0x74]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x5c]
add eax, ebp
mov dword [ecx + 0xc], eax
push 0xfffffffffffffffc
push ebx
mov edx, edi
mov ecx, esi
call fcn.0043db40
mov eax, dword [esi + 0x20]
add esp, 8
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x46f152
mov eax, 0x4dda1b
jmp 0x46f15a
mov eax, dword [esi + 4]
add eax, 0xffffffef
add eax, ecx
mov ebx, dword [esp + 0x14]
inc ebp
mov byte [eax], 0x90
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x32]
cmp ebp, eax
jl 0x46f046
mov edx, dword [esp + 0x58]
test edx, edx
je 0x46f323
cmp edx, 3
jbe 0x46f30b
cmp edx, 4
jne 0x46f323
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46f1ab
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46f1e5
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46f209
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, ebx
dec eax
mov dword [edx + 0x58], eax
movzx edi, word [ebp + 0x34]
mov ebp, dword [esp + 0x28]
mov edx, ebp
push edi
call fcn.00453760
add esp, 4
cmp edi, dword [ebx + 0x38]
jle 0x46f230
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], ebp
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x46f254
mov ebp, dword [esp + 0x34]
mov edx, edi
push ebp
mov ecx, ebx
call fcn.00453760
add esp, 4
cmp ebp, dword [ebx + 0x38]
jle 0x46f254
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
mov edi, dword [edi + 0x14]
inc ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
test edi, edi
jne 0x46ea96
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x46f3fc
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x46f29f
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x46f2d5
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 word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
lea eax, [ebx + 1]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
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 0x46f3e3
mov ecx, dword [esp + 0x40]
mov eax, 0x4dda18
mov dword [eax + 8], edx
mov eax, dword [esp + 0x84]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push ebp
call fcn.004627f0
add esp, 4
jmp 0x46f1ed
mov ebx, dword [esp + 0x14]
xor edx, edx
mov ecx, ebx
mov eax, dword [ebx + 0x198]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x38]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x40000
je 0x46f39c
mov ecx, dword [esp + 0x14]
xor ebx, ebx
xor ebp, ebp
mov eax, dword [ecx]
test dword [eax + 0x18], 0x800000
je 0x46f365
mov edx, dword [esp + 0x18]
call fcn.00483ba0
mov ebp, eax
mov edi, ebp
test ebp, ebp
je 0x46f391
nop dword [eax + eax]
cmp byte [edi + 8], 0x6d
jne 0x46f38a
mov ecx, dword [edi + 0x10]
xor edx, edx
call fcn.00484b10
test eax, eax
je 0x46f38a
movzx eax, byte [edi + 9]
or ebx, eax
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x46f370
xor edx, edx
test ebx, ebx
mov ebx, dword [esp + 0x14]
cmovne edx, ebp
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
cmp ebp, dword [esp + 0x20]
push 0xffffffffffffffff
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x44]
push dword [esp + 0x40]
push dword [esp + 0x84]
push dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x3c]
call fcn.00464fa0
add esp, 0x24
mov dword [esp + 0x40], 1
jmp 0x46f1ed
mov ecx, dword [esp + 0x48]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x50
ret