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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2e0
mov edx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x6e46000]
xor eax, ebp
mov dword [esp + 0x2d8], eax
cmp dword [ecx + 0x194], 4
je 0x3848ed6f
xor ebx, ebx
jmp 0x3848ed72
mov ebx, dword [ebp + 0x18]
mov eax, edi
and eax, 0xc0
mov dword [esp + 8], eax
mov esi, edi
and esi, 7
mov eax, dword [edx + 0x198]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x2c0]
cmp eax, 2
mov dword [esp], edx
mov dword [esp + 0x10], ebx
jne 0x3848edc6
cmp esi, 4
jne 0x3848f04d
mov eax, dword [edx]
lea ecx, [eax + 1]
cmp ecx, dword [edx + 4]
jbe 0x3848f03a
mov ecx, edx
push 1
call fcn.3848e850
mov edx, dword [esp]
jmp 0x3848f046
cmp eax, 1
setne al
cmp dword [edx + 0x2b0], 0
setne cl
cmp al, cl
je 0x3848f00e
jmp dword [esi*4 + 0x6dc0494]
cmp esi, 4
mov eax, dword [esp + 8]
jne 0x3848f24c
mov eax, dword [edx]
lea ecx, [eax + 1]
cmp ecx, dword [edx + 4]
jbe 0x3848f235
mov ecx, edx
push 1
call fcn.3848e850
mov edx, dword [esp]
jmp 0x3848f241
mov al, byte [eax]
add dword [edx + 8], 1
adc dword [edx + 0xc], 0
mov dword [edx], ecx
movzx eax, al
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
cmp al, 0x80
je 0x3848f081
mov dword [esp + 4], 0
mov ebx, 0
cmp al, 0x40
jne 0x3848f0bf
mov eax, dword [edx]
lea ecx, [eax + 1]
cmp ecx, dword [edx + 4]
jbe 0x3848f09b
mov ecx, edx
push 1
call fcn.3848e850
mov edx, dword [esp]
movsx ebx, al
jmp 0x3848f0b8
mov ecx, dword [edx]
lea eax, [ecx + 4]
cmp eax, dword [edx + 4]
jbe 0x3848f0ac
mov ecx, edx
push 4
call fcn.3848e850
mov edx, dword [esp]
mov ebx, eax
jmp 0x3848f0b8
mov al, byte [eax]
add dword [edx + 8], 1
adc dword [edx + 0xc], 0
mov dword [edx], ecx
movsx ebx, al
jmp 0x3848f0b8
mov ebx, dword [ecx]
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], eax
mov dword [esp + 4], ebx
sar ebx, 0x1f
cmp esi, 4
jne 0x3848f0f7
mov eax, dword [esp + 0x14]
shr eax, 3
and eax, 7
mov ecx, dword [edx + 0x2a0]
and ecx, 2
lea esi, [eax + ecx*4]
cmp esi, 4
jne 0x3848f127
mov word [esp + 0x18], 0xffff
mov eax, dword [esp + 8]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x14]
jmp 0x38490797
and edi, 0xc7
cmp edi, 5
jne 0x3848f196
mov ecx, dword [edx]
lea eax, [ecx + 4]
cmp eax, dword [edx + 4]
jbe 0x3848f2a1
mov ecx, edx
push 4
call fcn.3848e850
mov edx, dword [esp]
mov esi, eax
jmp 0x3848f2ad
cmp dword [esp + 0x10], 0
je 0x3848f44a
lea eax, [esi*8]
mov word [esp + 0x20], 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
call fcn.38576290
mov ecx, dword [esp + 0x14]
shr ecx, 6
je 0x384903ac
mov dword [esp + 0x18], esp
mov word [esp + 0x20], 0x44
mov word [esp + 0x22], ax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov ecx, edi
lea edi, [esp + 0x20]
push edi
call fcn.38576290
mov esp, dword [esp + 0x18]
mov ecx, dword [esp + 4]
jmp 0x384903b4
mov eax, dword [edx + 0x2a0]
shl eax, 6
and eax, 0x40
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x10]
test esi, esi
mov edi, dword [esp + 4]
je 0x3848f20f
mov word [esp + 0x20], 4
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov ecx, dword [esp + 8]
mov word [esi], ax
mov eax, edi
or eax, ebx
je 0x3848f20f
mov dword [esp + 0x14], esp
movzx eax, word [esi]
mov word [esp + 0x20], 0x30
mov word [esp + 0x22], ax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov ecx, dword [esp + 8]
mov esp, dword [esp + 0x14]
mov word [esi], ax
mov eax, edi
or eax, ebx
jne 0x3848f346
cmp ecx, dword [ebp + 0x14]
jne 0x3848f346
mov edx, dword [esp]
mov eax, dword [ebp + 0x14]
mov edi, dword [edx + eax + 0x74]
mov ebx, dword [edx + eax + 0x78]
jmp 0x3849070e
mov al, byte [eax]
add dword [edx + 8], 1
adc dword [edx + 0xc], 0
mov dword [edx], ecx
movzx eax, al
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
cmp al, 0x80
je 0x3848f282
mov dword [esp + 4], 0
cmp al, 0x40
jne 0x3848f483
mov ecx, dword [edx]
lea eax, [ecx + 1]
cmp eax, dword [edx + 4]
jbe 0x3848f45a
mov ecx, edx
push 1
call fcn.3848e850
mov edx, dword [esp]
movsx eax, al
jmp 0x3848f469
mov ecx, dword [edx]
lea eax, [ecx + 4]
cmp eax, dword [edx + 4]
jbe 0x3848f46f
mov ecx, edx
push 4
call fcn.3848e850
mov edx, dword [esp]
jmp 0x3848f469
mov esi, dword [ecx]
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], eax
mov ebx, dword [esp + 0x10]
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x3848f328
mov eax, dword [edx + 8]
sub eax, dword [edx + 0x6c]
add eax, edi
mov word [esp + 0x20], 0xaa
mov ecx, dword [esp + 0xc]
movzx edx, word [ecx + 0x14]
movzx eax, ax
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov word [ebx], ax
test esi, esi
je 0x3848f328
mov ebx, esp
mov eax, esi
sar eax, 0x1f
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx]
mov word [esp + 0x20], 0x30
mov word [esp + 0x22], cx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov esp, ebx
mov ecx, dword [esp + 0x10]
mov word [ecx], ax
mov ebx, esi
sar ebx, 0x1f
add edi, esi
adc ebx, 0
add edi, dword [edx + 8]
adc ebx, dword [edx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
jmp 0x38490aa0
mov edx, dword [esp]
mov eax, dword [edx + ecx + 0x220]
or eax, dword [edx + ecx + 0x224]
je 0x38490706
mov dword [edx + ecx + 0x220], 0
mov dword [edx + ecx + 0x224], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490706
mov esi, dword [eax + 0x10]
cmp byte [esi + 0x80c], 0
je 0x38490706
mov dword [esp + 0x14], esi
mov dword [esp + 8], ecx
mov eax, ecx
shr eax, 1
mov edi, dword [eax + 0x6dbb260]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov esi, dword [0x6db26f0]
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push esi
call fcn.38416170
add esp, 4
mov dword [esp + 0x28], esi
mov word [esp + 0x3e], ax
test edi, edi
je 0x384906b9
push edi
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], edi
jmp 0x384906ca
mov word [esp + 0x18], 0xffff
mov ecx, dword [esp + 4]
jmp 0x384903f5
mov cl, byte [ecx]
add dword [edx + 8], 1
adc dword [edx + 0xc], 0
mov dword [edx], eax
movsx eax, cl
mov dword [esp + 4], eax
jmp 0x3848f47f
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], eax
mov eax, dword [esp + 8]
cmp esi, 4
jne 0x3848f4a8
mov esi, dword [esp + 0x14]
shr esi, 3
and esi, 7
mov bx, 0xffff
cmp esi, 4
jne 0x3848f4d5
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x14]
jmp 0x38490bd8
and edi, 0xc7
cmp edi, 5
jne 0x3848f580
mov ecx, dword [edx]
lea eax, [ecx + 4]
cmp eax, dword [edx + 4]
jbe 0x38490369
mov ecx, edx
push 4
call fcn.3848e850
mov edi, eax
jmp 0x38490375
cmp dword [esp + 0x10], 0
je 0x3849052c
lea eax, [esi*8]
mov word [esp + 0x20], 3
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
call fcn.38576290
mov ebx, eax
mov eax, dword [esp + 0x14]
shr eax, 6
je 0x38490536
mov dword [esp + 0x18], esp
mov word [esp + 0x20], 0x43
mov word [esp + 0x22], bx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov ecx, edi
lea edi, [esp + 0x20]
push edi
call fcn.38576290
mov ebx, eax
mov esp, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov eax, edi
test ecx, ecx
je 0x38490546
mov edx, eax
mov edi, esp
mov word [esp + 0x20], 0x2f
mov word [esp + 0x22], bx
mov eax, ecx
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
push edx
call fcn.38576290
mov ebx, eax
mov esp, edi
mov edx, dword [esp]
jmp 0x3849056d
lea edi, [esi*8]
test ebx, ebx
je 0x3848f5e5
mov word [esp + 0x20], 3
mov dword [esp + 0x24], edi
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov word [ebx], ax
cmp dword [esp + 4], 0
je 0x3848f5e5
mov edi, esp
movzx eax, word [ebx]
mov word [esp + 0x20], 0x2f
mov word [esp + 0x22], ax
mov ecx, dword [esp + 4]
mov eax, ecx
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov esp, edi
mov word [ebx], ax
jmp 0x3848f5fd
cmp edi, dword [ebp + 0x14]
jne 0x3848f5fd
cmp dword [esp + 4], 0
jne 0x3848f5fd
mov ecx, dword [esp]
mov edi, dword [ecx + esi*8 + 0x74]
jmp 0x38490b5e
mov ecx, dword [esp]
cmp dword [ecx + esi*8 + 0x220], 0
je 0x38490b56
mov dword [ecx + esi*8 + 0x220], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490b56
mov edi, dword [eax + 0x10]
cmp byte [edi + 0x80c], 0
je 0x38490b56
mov ebx, dword [esi*4 + 0x6dbb21c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push dword [0x6db26f0]
call fcn.38416170
add esp, 4
mov ecx, dword [0x6db26f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3e], ax
test ebx, ebx
je 0x38490b14
push ebx
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], ebx
jmp 0x38490b25
mov edi, dword [ecx]
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
test ebx, ebx
je 0x38490e90
mov word [esp + 0x20], 0x1f
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x20]
push eax
call fcn.38576290
jmp 0x38490b0c
mov ecx, dword [esp + 4]
lea edi, [esp + 0x20]
mov edx, ecx
or edx, ebx
je 0x384903ed
mov edx, edi
mov edi, esp
mov word [esp + 0x20], 0x30
mov word [esp + 0x22], ax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
push edx
call fcn.38576290
mov word [esp + 0x18], ax
mov esp, edi
mov ecx, dword [esp + 4]
jmp 0x384903f2
mov word [esp + 0x18], ax
mov edx, dword [esp]
mov eax, ecx
or eax, ebx
jne 0x3849042d
cmp esi, dword [ebp + 0x14]
jne 0x3849042d
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 0x74]
mov ebx, dword [edx + ecx*8 + 0x78]
mov esi, dword [esp + 0x14]
mov ecx, esi
shr ecx, 6
mov edi, eax
shl edi, cl
shld ebx, eax, cl
test cl, 0x20
je 0x38490793
mov ebx, edi
xor edi, edi
jmp 0x38490793
mov eax, dword [edx + esi*8 + 0x220]
or eax, dword [edx + esi*8 + 0x224]
je 0x38490767
mov dword [edx + esi*8 + 0x220], 0
mov dword [edx + esi*8 + 0x224], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490767
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x80c], 0
je 0x38490767
mov dword [esp + 0x1c], eax
mov edi, dword [esi*4 + 0x6dbb260]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push dword [0x6db26f0]
call fcn.38416170
add esp, 4
mov ecx, dword [0x6db26f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3e], ax
test edi, edi
je 0x38490721
push edi
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], edi
jmp 0x38490732
mov bx, 0xffff
mov ecx, dword [esp + 4]
jmp 0x3849054d
mov ecx, dword [esp + 4]
lea eax, [esp + 0x20]
test ecx, ecx
jne 0x3848f54d
mov edx, dword [esp]
mov eax, dword [esp + 8]
cmp esi, dword [ebp + 0x14]
jne 0x3849056d
test ecx, ecx
jne 0x3849056d
mov ecx, dword [ebp + 0x14]
mov edi, dword [edx + ecx*8 + 0x74]
mov esi, dword [esp + 0x14]
mov ecx, esi
shr ecx, 6
shl edi, cl
jmp 0x38490bd8
cmp dword [edx + esi*8 + 0x220], 0
je 0x38490bbf
mov dword [edx + esi*8 + 0x220], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490bbf
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x80c], 0
je 0x38490bbf
mov dword [esp + 0x18], eax
mov edi, dword [esi*4 + 0x6dbb21c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push dword [0x6db26f0]
call fcn.38416170
add esp, 4
mov ecx, dword [0x6db26f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3e], ax
test edi, edi
je 0x38490b7a
push edi
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], edi
jmp 0x38490b8b
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov edi, dword [esp + 4]
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push dword [esp + 0x1c]
call fcn.3841c720
mov edx, dword [esp]
mov ecx, dword [esp + 8]
add edi, dword [edx + ecx + 0x74]
adc ebx, dword [edx + ecx + 0x78]
mov eax, 3
cmp ecx, 0x28
je 0x38490a8c
jmp 0x38490a9b
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov edx, dword [esp + 0x1c]
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push edx
call fcn.3841c720
mov edx, dword [esp]
mov edi, dword [edx + esi*8 + 0x74]
mov eax, dword [edx + esi*8 + 0x78]
mov esi, dword [esp + 0x14]
mov ecx, esi
shr ecx, 6
mov edx, edi
shl edx, cl
shld eax, edi, cl
test cl, 0x20
je 0x38490788
mov eax, edx
xor edx, edx
mov edi, dword [esp + 4]
add edi, edx
adc ebx, eax
mov edx, dword [esp]
mov eax, dword [esp + 8]
and esi, 7
test eax, eax
jne 0x384907c2
cmp esi, 5
jne 0x384907c2
mov eax, dword [edx]
lea ecx, [eax + 4]
cmp ecx, dword [edx + 4]
jbe 0x3849083b
mov ecx, edx
push 4
call fcn.3848e850
mov edx, dword [esp]
jmp 0x38490847
mov eax, dword [edx + 0x2a0]
shl eax, 6
and eax, 0x40
mov dword [esp + 0x14], esi
lea esi, [eax + esi*8]
cmp dword [esp + 0x10], 0
je 0x384908ea
mov dword [esp + 4], edi
mov word [esp + 0x20], 4
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
call fcn.38576290
mov dword [esp + 8], esp
movzx ecx, word [esp + 0x18]
cmp cx, 0xffff
je 0x384908af
mov word [esp + 0x20], 0x2e
mov word [esp + 0x22], ax
mov word [esp + 0x24], cx
mov ecx, edi
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov edi, dword [esp + 4]
jmp 0x384908dd
mov eax, dword [eax]
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
mov ecx, eax
sar ecx, 0x1f
add edi, eax
adc ebx, ecx
cmp dword [esp + 0x10], 0
je 0x3849089d
movzx edx, word [esp + 0x18]
cmp dx, 0xffff
je 0x38490a05
mov esi, esp
mov word [esp + 0x20], 0x30
mov word [esp + 0x22], dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov edx, dword [esp]
mov esp, esi
jmp 0x38490a25
cmp dword [edx + 0x2b0], 0
jne 0x38490e90
jmp 0x38490e92
mov word [esp + 0x20], 0x30
mov word [esp + 0x22], ax
mov edx, dword [esp + 4]
mov eax, edx
sar eax, 0x1f
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov ecx, edi
mov edi, edx
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov ecx, dword [esp + 8]
mov esp, ecx
mov ecx, dword [esp + 0x10]
mov word [ecx], ax
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 0x14]
jne 0x38490906
mov eax, edi
or eax, ebx
jne 0x38490906
mov edi, dword [edx + esi + 0x74]
mov ebx, dword [edx + esi + 0x78]
jmp 0x38490a7f
mov eax, dword [edx + esi + 0x220]
or eax, dword [edx + esi + 0x224]
je 0x38490a77
mov dword [edx + esi + 0x220], 0
mov dword [edx + esi + 0x224], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490a77
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x80c], 0
je 0x38490a77
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov eax, esi
shr eax, 1
mov edi, dword [eax + 0x6dbb260]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push dword [0x6db26f0]
call fcn.38416170
add esp, 4
mov ecx, dword [0x6db26f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3e], ax
test edi, edi
je 0x38490a2e
push edi
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], edi
jmp 0x38490a3f
mov word [esp + 0x20], 0x20
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov edx, dword [esp]
mov ecx, dword [esp + 0x10]
mov word [ecx], ax
jmp 0x38490aa0
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov edi, dword [esp + 4]
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push dword [esp + 0x10]
call fcn.3841c720
mov edx, dword [esp]
add edi, dword [edx + esi + 0x74]
adc ebx, dword [edx + esi + 0x78]
and esi, 0xfffffff0
mov eax, 3
cmp esi, 0x20
jne 0x38490a9b
xor eax, eax
cmp dword [edx + 0x1ac], 6
sete al
xor eax, 3
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [edx + 0x2b0], 0
je 0x38490e92
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x38490e90
mov word [esp + 0x20], 0x20
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x20]
mov esi, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.38576290
mov dword [esp + 4], edi
mov edi, esp
movzx ecx, word [ebx]
mov word [esp + 0x20], 0x36
mov word [esp + 0x22], cx
mov word [esp + 0x24], ax
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov esp, edi
mov edi, dword [esp + 4]
mov word [ebx], ax
jmp 0x38490e90
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push edi
call fcn.3841c720
mov ecx, dword [esp]
mov edi, dword [esp + 4]
add edi, dword [ecx + esi*8 + 0x74]
mov eax, 3
cmp esi, 5
jne 0x38490e8b
xor eax, eax
cmp dword [ecx + 0x1ac], 6
jmp 0x38490e85
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push dword [esp + 0x20]
call fcn.3841c720
mov edx, dword [esp]
mov eax, dword [edx + esi*8 + 0x74]
mov esi, dword [esp + 0x14]
mov ecx, esi
shr ecx, 6
shl eax, cl
mov edi, dword [esp + 4]
add edi, eax
mov eax, dword [esp + 8]
and esi, 7
test eax, eax
jne 0x38490bf9
cmp esi, 5
jne 0x38490bf9
mov eax, dword [edx]
lea ecx, [eax + 4]
cmp ecx, dword [edx + 4]
jbe 0x38490c67
mov ecx, edx
push 4
call fcn.3848e850
jmp 0x38490c73
cmp dword [esp + 0x10], 0
je 0x38490cfc
mov dword [esp + 4], edi
lea eax, [esi*8]
mov word [esp + 0x20], 3
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
call fcn.38576290
mov ecx, esp
cmp bx, 0xffff
mov dword [esp + 8], ecx
je 0x38490cc3
mov word [esp + 0x20], 0x2d
mov word [esp + 0x22], ax
mov word [esp + 0x24], bx
mov ecx, edi
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
jmp 0x38490cf5
mov eax, dword [eax]
add dword [edx + 8], 4
adc dword [edx + 0xc], 0
mov dword [edx], ecx
add edi, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
cmp dword [esp + 0x10], 0
je 0x38490e90
cmp bx, 0xffff
je 0x38490df8
mov esi, esp
mov word [esp + 0x20], 0x2f
mov word [esp + 0x22], bx
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov esp, esi
jmp 0x38490e19
mov word [esp + 0x20], 0x2f
mov word [esp + 0x22], ax
mov edx, dword [esp + 4]
mov eax, edx
sar eax, 0x1f
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov ecx, edi
mov edi, edx
lea eax, [esp + 0x20]
push eax
call fcn.38576290
mov edx, dword [esp]
mov ecx, dword [esp + 0x10]
mov esp, dword [esp + 8]
mov word [ecx], ax
cmp esi, dword [ebp + 0x14]
jne 0x38490d11
test edi, edi
jne 0x38490d11
mov eax, dword [ebp + 0x14]
mov edi, dword [edx + eax*8 + 0x74]
jmp 0x38490e6b
cmp dword [edx + esi*8 + 0x220], 0
je 0x38490e67
mov dword [edx + esi*8 + 0x220], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x944]
mov eax, dword [eax + 0x50]
cmp byte [eax + 0xec], 0
je 0x38490e67
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x80c], 0
je 0x38490e67
mov dword [esp + 8], eax
mov ebx, dword [esi*4 + 0x6dbb21c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2d4], 1
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x20], 0x6e3e48f
mov word [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0
push 0x16
push 0x6e3e48f
call fcn.38420770
add esp, 8
mov dword [esp + 0x38], eax
push dword [0x6db26f0]
call fcn.38416170
add esp, 4
mov ecx, dword [0x6db26f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3e], ax
test ebx, ebx
je 0x38490e22
push ebx
call fcn.38416170
add esp, 4
mov word [esp + 0x60], 2
mov dword [esp + 0x48], ebx
jmp 0x38490e33
mov word [esp + 0x20], 0x1f
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
call fcn.38576290
mov ecx, dword [esp + 0x10]
mov word [ecx], ax
jmp 0x38490e90
mov word [esp + 0x60], 2
mov dword [esp + 0x48], 0
xor eax, eax
mov word [esp + 0x62], ax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2d0], 1
lea ecx, [esp + 0x20]
push 0
push 1
push dword [esp + 0x10]
call fcn.3841c720
mov edx, dword [esp]
add edi, dword [edx + esi*8 + 0x74]
mov ecx, dword [esp + 0x14]
and ecx, 6
mov eax, 3
cmp ecx, 4
jne 0x38490e8b
xor eax, eax
cmp dword [edx + 0x1ac], 6
sete al
xor eax, 3
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor ebx, ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, ebp
call 0x387310a4
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14