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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x32a2c]
mov ecx, dword [ebp + 0x32a28]
cmp ecx, eax
je 0x41eb76
lea ecx, [eax + eax*4]
pop edi
pop esi
mov edx, dword [ebp + ecx*8 + 0x38]
sub edx, eax
mov eax, dword [esp + 0x9c]
mov dword [eax], edx
mov eax, dword [ebp + 0x32a2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x98]
mov edx, dword [ebp + ecx*8 + 0x3c]
mov dword [eax], edx
mov eax, dword [ebp + 0x32a2c]
lea ecx, [eax + eax*4]
xor eax, eax
mov edx, dword [ebp + ecx*8 + 0x38]
mov dword [ebp + 0x32a2c], edx
pop ebp
pop ebx
add esp, 0x88
ret 0xc
mov al, byte [ebp + 0x32a30]
xor ebx, ebx
test al, al
mov dword [ebp + 0x32a2c], ebx
mov dword [ebp + 0x32a28], ebx
jne 0x41ebab
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.0041fb80
cmp eax, ebx
je 0x41ebbc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
mov ecx, dword [ebp + 0x32a20]
mov byte [ebp + 0x32a30], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
lea edi, [ebp + 0x14]
mov eax, dword [edi]
mov ecx, dword [ebp + 0x28028]
push 0x111
lea esi, [ebx*4]
mov edx, dword [ecx]
push eax
push 0xffffffffffffffff
push ecx
mov dword [esp + esi + 0x64], eax
call dword [edx + 0x1c]
test ebx, ebx
mov dword [esp + esi + 0x88], eax
je 0x41ec00
mov ecx, dword [esp + 0x28]
cmp eax, dword [esp + ecx + 0x88]
jbe 0x41ec08
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
inc ebx
add edi, 4
cmp ebx, 4
jb 0x41ebc7
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x32a1c]
mov ecx, dword [esp + edx*4 + 0x88]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jbe 0x41ec52
mov eax, dword [esp + 0xa0]
mov dword [eax], edx
mov eax, dword [esp + 0xa4]
mov dword [eax], ecx
dec ecx
push ecx
mov ecx, ebp
call fcn.0041ea30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jbe 0x41ec8c
mov edx, dword [ebp + eax*4 + 0x325d0]
mov eax, dword [esp + 0xa0]
add edx, 4
mov dword [eax], edx
mov edx, dword [esp + 0xa4]
mov dword [edx], ecx
dec ecx
push ecx
mov ecx, ebp
call fcn.0041ea30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
mov eax, dword [ebp + 0x28028]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, byte [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov byte [ebp + 0x28], dl
mov byte [esp + 0x28], al
mov eax, dword [ebp + 0x28028]
mov edx, 0xfffffffe
sub edx, edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov ebx, dword [esp + 0x9c]
mov edi, dword [ebp + 0x33680]
mov byte [esp + 0x40], al
mov al, byte [ebp + 0x10]
mov ecx, eax
and ebx, edi
and ecx, 0xff
mov edi, dword [ebp + 0x325cc]
shl ecx, 4
add ecx, ebx
mov dword [esp + 0x38], ebx
mov edx, dword [ebp + ecx*4 + 0x28060]
mov cl, byte [ebp + 0x11]
shr edx, 2
cmp al, 7
mov eax, dword [esp + 0x28]
mov esi, dword [edx*4 + 0x47987c]
mov byte [esp + 0x48], cl
mov ecx, dword [esp + 0x40]
push eax
setae dl
mov byte [esp + 0x28], dl
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x325c4]
push ecx
push eax
mov eax, dword [esp + 0x54]
mov cl, 8
and eax, 0xff
sub cl, dl
shr eax, cl
mov ecx, dword [esp + 0xa8]
and edi, ecx
mov ecx, edx
shl edi, cl
add eax, edi
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x325c0]
shl ecx, 0xa
add ecx, eax
call fcn.0041d7e0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add eax, esi
xor edi, edi
mov dword [ebp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x64], 0xffffffff
mov byte [ebp + 0x51], 0
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x44], edx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ecx
mov cl, byte [ebp + 0x10]
mov esi, 0x800
mov eax, ecx
and eax, 0xff
mov edx, eax
shl edx, 4
add edx, ebx
sub esi, dword [ebp + edx*4 + 0x28060]
shr esi, 2
mov esi, dword [esi*4 + 0x47987c]
mov edx, 0x800
sub edx, dword [ebp + eax*4 + 0x28360]
shr edx, 2
mov eax, dword [edx*4 + 0x47987c]
mov dl, byte [esp + 0x28]
add eax, esi
cmp byte [esp + 0x40], dl
mov dword [esp + 0x1c], eax
jne 0x41ee1f
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x24]
and ecx, 0xff
mov edx, ecx
shl edx, 4
add edx, ebx
mov edx, dword [ebp + edx*4 + 0x28420]
shr edx, 2
mov dword [esp + 0x24], edx
mov edx, dword [ebp + ecx*4 + 0x28390]
mov ecx, dword [esp + 0x24]
shr edx, 2
mov ecx, dword [ecx*4 + 0x47987c]
add ecx, dword [edx*4 + 0x47987c]
add ecx, eax
mov eax, dword [ebp + 0x5c]
cmp ecx, eax
jae 0x41ee1f
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x64], edi
mov byte [ebp + 0x51], 0
mov edx, dword [esp + 0x44]
cmp edx, 2
jae 0x41ee50
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov dword [eax], edx
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
add esp, 0x88
ret 0xc
xor eax, eax
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + eax*4 + 0x28360]
mov eax, dword [esp + 0x14]
shr ecx, 2
mov edi, dword [ecx*4 + 0x47987c]
add edi, esi
cmp edx, eax
mov dword [esp + 0x48], edi
ja 0x41ee7a
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, 2
cmp edx, eax
jb 0x41ef6f
lea edx, [eax + eax*4]
lea edx, [ebp + edx*8]
mov dword [esp + 0x24], edx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp + eax*4 + 0x325d0]
add ecx, 4
cmp eax, 2
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp + eax*4 + 0x325d0]
jne 0x41eec4
cmp ecx, 0x80
jb 0x41eec4
mov ecx, 0xfffffff
jmp 0x41ef59
lea esi, [eax - 2]
cmp esi, 4
jb 0x41eed1
mov esi, 3
cmp ecx, 0x80
jae 0x41eee7
shl esi, 7
add esi, ecx
mov esi, dword [ebp + esi*4 + 0x32e34]
jmp 0x41ef49
cmp ecx, 0x10000
jae 0x41ef01
mov edi, ecx
xor edx, edx
shr edi, 6
mov dl, byte [edi + 0x479474]
add edx, 0xc
jmp 0x41ef29
cmp ecx, 0x2000000
mov edi, ecx
jae 0x41ef1b
shr edi, 0xf
xor edx, edx
mov dl, byte [edi + 0x479474]
add edx, 0x1e
jmp 0x41ef29
shr edi, 0x18
xor edx, edx
mov dl, byte [edi + 0x479474]
add edx, 0x30
shl esi, 6
mov edi, dword [esp + 0x48]
add esi, edx
and ecx, 0xf
mov esi, dword [ebp + esi*4 + 0x32a34]
mov edx, dword [ebp + ecx*4 + 0x33634]
add esi, edx
mov edx, dword [esp + 0x24]
mov ecx, eax
shl ecx, 4
add ecx, ebx
mov ecx, dword [ebp + ecx*4 + 0x294b0]
add ecx, esi
add ecx, edi
inc eax
mov dword [edx + 0x34], ecx
mov byte [edx + 0x29], 0
mov edx, dword [esp + 0x44]
cmp eax, edx
jbe 0x41ee87
mov ecx, dword [esp + 0x14]
cmp edx, ecx
jae 0x41ef7d
mov edx, ecx
mov dword [esp + 0x44], edx
cmp eax, edx
ja 0x41ef9a
lea edx, [eax + eax*4]
lea ecx, [ebp + edx*8 + 0x34]
mov dword [ecx], 0xfffffff
mov edx, dword [esp + 0x44]
inc eax
add ecx, 0x28
cmp eax, edx
jbe 0x41ef88
xor edi, edi
mov eax, dword [esp + edi*4 + 0x88]
cmp eax, 2
jb 0x41f0ae
lea ecx, [ebp + ebx*4 + 0x2e17c]
dec eax
lea esi, [ebp + 0x84]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov dl, byte [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x28], dl
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
test edi, edi
jne 0x41efff
and ecx, 0xff
mov edx, ecx
mov ecx, dword [ebp + ecx*4 + 0x28390]
shl edx, 4
add edx, ebx
mov ebx, 0x800
sub ebx, dword [ebp + edx*4 + 0x28420]
shr ebx, 2
shr ecx, 2
jmp 0x41f05b
and ecx, 0xff
mov edx, 0x800
sub edx, dword [ebp + ecx*4 + 0x28390]
shr edx, 2
add eax, dword [edx*4 + 0x47987c]
cmp edi, 1
jne 0x41f033
mov ecx, dword [ebp + ecx*4 + 0x283c0]
shr ecx, 2
add eax, dword [ecx*4 + 0x47987c]
jmp 0x41f071
mov ebx, 0x800
lea edx, [edi - 2]
sub ebx, dword [ebp + ecx*4 + 0x283c0]
mov ecx, dword [ebp + ecx*4 + 0x283f0]
sub ecx, edx
neg edx
xor ecx, edx
shr ecx, 2
shr ebx, 2
and ecx, 0x1ff
mov edx, dword [ebx*4 + 0x47987c]
mov ebx, dword [ecx*4 + 0x47987c]
add edx, ebx
mov ebx, dword [esp + 0x38]
add eax, edx
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esi]
cmp eax, ecx
jae 0x41f08d
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], edi
mov byte [esi - 0xb], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add esi, 0x28
add ecx, 0x40
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
jne 0x41efc2
mov edx, dword [esp + 0x44]
inc edi
cmp edi, 4
jb 0x41ef9c
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
je 0x41fb38
mov edx, dword [esp + 0x9c]
inc edx
mov dword [esp + 0x9c], edx
lea edx, [esi + esi*4]
mov eax, dword [ebp + edx*8 + 0x38]
lea ebx, [ebp + edx*8]
mov dl, byte [ebp + edx*8 + 0x29]
test dl, dl
je 0x41f158
mov cl, byte [ebx + 0x2a]
dec eax
test cl, cl
je 0x41f13a
mov ecx, dword [ebx + 0x2c]
inc ecx
lea ecx, [ecx + ecx*4]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
mov ecx, dword [ebx + 0x30]
cmp ecx, 4
mov ecx, dword [esp + 0x10]
jae 0x41f12c
and ecx, 0xff
mov cl, byte [ecx + 0x4669bc]
jmp 0x41f142
and ecx, 0xff
mov cl, byte [ecx + 0x4669b0]
jmp 0x41f142
lea ecx, [eax + eax*4 + 5]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov cl, byte [ecx + 0x4669a4]
jmp 0x41f160
lea ecx, [eax + eax*4 + 5]
mov cl, byte [ebp + ecx*8]
mov byte [esp + 0x10], cl
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x41f1a4
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x41f18b
mov edx, dword [esp + 0x10]
and edx, 0xff
mov al, byte [edx + 0x4669c8]
mov byte [esp + 0x10], al
jmp 0x41f24b
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + 0x4669a4]
mov byte [esp + 0x10], dl
jmp 0x41f24b
test dl, dl
je 0x41f1c7
mov cl, byte [ebx + 0x2a]
test cl, cl
je 0x41f1c7
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
and ecx, 0xff
mov cl, byte [ecx + 0x4669bc]
jmp 0x41f1ed
mov edx, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x10]
cmp edx, 4
jae 0x41f1e1
and ecx, 0xff
mov cl, byte [ecx + 0x4669bc]
jmp 0x41f1ed
and ecx, 0xff
mov cl, byte [ecx + 0x4669b0]
cmp edx, 4
mov byte [esp + 0x10], cl
jae 0x41f60a
lea ecx, [eax + eax*4]
shl ecx, 1
mov dword [esp + 0x24], ecx
lea esi, [ecx + edx]
mov esi, dword [ebp + esi*4 + 0x40]
mov dword [esp + 0x54], esi
mov esi, 1
cmp edx, esi
jb 0x41f232
lea eax, [eax + eax*4]
mov ecx, edx
lea edi, [esp + 0x58]
lea esi, [ebp + eax*8 + 0x40]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 1]
cmp esi, 4
jae 0x41f247
mov ecx, dword [esp + 0x24]
add ecx, esi
lea edi, [esp + esi*4 + 0x54]
lea eax, [ebp + ecx*4 + 0x40]
mov ecx, 4
sub ecx, esi
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov cl, byte [esp + 0x10]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea eax, [esi + 1]
lea eax, [eax + eax*4]
mov byte [ebp + eax*8], cl
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], eax
lea edx, [esp + 0x40]
mov dword [ebx + 0x4c], ecx
push edx
mov ecx, ebp
call fcn.0041fb80
test eax, eax
jne 0x41fb6b
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x32a1c]
cmp eax, ecx
ja 0x41fb43
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x28028]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, eax
mov esi, dword [esp + 0x9c]
dec ebx
mov eax, ebx
mov dword [esp + 0x24], ebx
mov dl, byte [ebx]
sub eax, edi
mov edi, dword [ebp + 0x33680]
mov byte [esp + 0x68], dl
mov cl, byte [eax - 1]
mov eax, esi
and eax, edi
mov edi, dword [esp + 0x10]
and edi, 0xff
mov dword [esp + 0x48], eax
mov edx, edi
mov byte [esp + 0x6c], cl
shl edx, 4
add eax, edx
mov dl, byte [ebx - 1]
mov dword [esp + 0x50], eax
mov byte [esp + 0x80], dl
mov eax, dword [ebp + eax*4 + 0x28060]
mov edx, dword [ebp + 0x325c4]
shr eax, 2
mov dword [esp + 0x4c], edi
mov ecx, dword [eax*4 + 0x47987c]
mov eax, dword [esp + 0x68]
push eax
mov al, byte [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
cmp al, 7
push ecx
setae al
push eax
mov eax, dword [esp + 0x8c]
mov cl, 8
and eax, 0xff
sub cl, dl
shr eax, cl
mov ecx, dword [ebp + 0x325cc]
and ecx, esi
mov dword [esp + 0x28], ecx
mov ecx, edx
mov edx, dword [esp + 0x28]
shl edx, cl
add eax, edx
mov edx, dword [ebp + 0x325c0]
lea ecx, [eax + eax*2]
shl ecx, 0xa
add ecx, edx
call fcn.0041d7e0
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x14]
add esi, ecx
mov ecx, dword [esp + 0x18]
add esi, eax
mov byte [esp + 0x33], 0
lea eax, [ecx + ecx*4 + 0xa]
mov edx, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
cmp esi, edx
jae 0x41f3a5
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xffffffff
mov byte [eax + 1], 0
mov byte [esp + 0x33], 1
mov edx, dword [esp + 0x50]
mov ecx, 0x800
sub ecx, dword [ebp + edx*4 + 0x28060]
mov edx, dword [esp + 0x14]
shr ecx, 2
mov ecx, dword [ecx*4 + 0x47987c]
add ecx, edx
mov edx, 0x800
sub edx, dword [ebp + edi*4 + 0x28360]
mov dword [esp + 0x64], ecx
shr edx, 2
mov edx, dword [edx*4 + 0x47987c]
add edx, ecx
mov cl, byte [esp + 0x68]
mov dword [esp + 0x3c], edx
mov dl, byte [esp + 0x6c]
cmp dl, cl
jne 0x41f44d
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jae 0x41f403
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x41f44d
mov ecx, dword [esp + 0x50]
mov edi, dword [ebp + edi*4 + 0x28390]
shr edi, 2
mov edx, dword [ebp + ecx*4 + 0x28420]
shr edx, 2
mov ecx, dword [edx*4 + 0x47987c]
mov edx, dword [edi*4 + 0x47987c]
mov edi, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [eax + 0xc]
add ecx, edi
cmp ecx, edx
ja 0x41f44d
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x28028]
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, 0xfff
inc eax
sub ecx, edi
cmp ecx, eax
mov dword [esp + 0x34], eax
jae 0x41f473
mov dword [esp + 0x34], ecx
mov eax, ecx
cmp eax, 2
jb 0x41f0c4
mov ecx, dword [ebp + 0x32a1c]
cmp eax, ecx
jbe 0x41f48c
mov dword [esp + 0x34], ecx
mov eax, ecx
cmp eax, 3
jb 0x41f5eb
mov cl, byte [esp + 0x33]
test cl, cl
jne 0x41f5eb
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, 1
cmp eax, ecx
jbe 0x41f4c8
mov edx, dword [esp + 0x1c]
mov edi, ecx
sub edi, edx
mov dl, byte [ecx + ebx]
cmp dl, byte [edi + ebx]
jne 0x41f4c8
inc ecx
cmp ecx, eax
jb 0x41f4b3
dec ecx
cmp ecx, 2
mov dword [esp + 0x14], ecx
jb 0x41f5eb
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
mov edi, dword [ebp + 0x33680]
mov cl, byte [eax + 0x4669a4]
lea eax, [edx + 1]
mov byte [esp + 0x7c], cl
mov ecx, dword [esp + 0x7c]
and ecx, 0xff
and eax, edi
mov edx, ecx
mov dword [esp + 0x38], ecx
shl edx, 4
lea edi, [edx + eax]
mov edx, 0x800
sub edx, dword [ebp + ecx*4 + 0x28360]
mov ecx, 0x800
sub ecx, dword [ebp + edi*4 + 0x28060]
shr edx, 2
shr ecx, 2
mov edx, dword [edx*4 + 0x47987c]
add edx, dword [ecx*4 + 0x47987c]
mov ecx, dword [esp + 0x14]
add edx, esi
mov esi, dword [esp + 0x18]
lea ecx, [ecx + esi + 1]
mov esi, dword [esp + 0x2c]
cmp esi, ecx
jae 0x41f575
lea esi, [esi + esi*4]
lea esi, [ebp + esi*8 + 0x34]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x2c]
sub ecx, esi
add esi, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
add esi, 0x28
dec ecx
mov dword [esi], 0xfffffff
jne 0x41f569
mov esi, dword [ebp + edi*4 + 0x28420]
mov ecx, 0x800
sub ecx, esi
mov esi, dword [esp + 0x38]
shr ecx, 2
mov esi, dword [ebp + esi*4 + 0x28390]
mov ecx, dword [ecx*4 + 0x47987c]
shr esi, 2
mov edi, dword [esi*4 + 0x47987c]
mov esi, dword [esp + 0x14]
add ecx, edi
mov edi, esi
shl edi, 4
add edi, eax
add ecx, dword [ebp + edi*4 + 0x2e0fc]
add ecx, edx
mov edx, dword [esp + 0x18]
lea eax, [esi + edx + 2]
lea eax, [eax + eax*4]
mov esi, dword [ebp + eax*8 + 0xc]
lea eax, [ebp + eax*8]
cmp ecx, esi
jae 0x41f5e7
mov dword [eax + 0xc], ecx
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov byte [eax + 1], 1
mov byte [eax + 2], 0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x20], edx
mov esi, dword [esp + edx*4 + 0x54]
xor ecx, ecx
inc esi
test eax, eax
mov dword [esp + 0x1c], esi
jbe 0x41f79b
jmp 0x41f637
lea ecx, [eax + eax*4]
add edx, 0xfffffffc
mov dword [esp + 0x54], edx
mov edx, dword [ebp + ecx*8 + 0x40]
lea eax, [ebp + ecx*8 + 0x40]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
jmp 0x41f24b
mov esi, dword [esp + 0x1c]
mov eax, ecx
sub eax, esi
mov esi, eax
mov al, byte [ecx + ebx]
cmp al, byte [esi + ebx]
jne 0x41f64e
mov eax, dword [esp + 0x34]
inc ecx
cmp ecx, eax
jb 0x41f633
cmp ecx, 2
jb 0x41f797
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x38], eax
lea eax, [eax + eax*4]
lea esi, [ebp + eax*8 + 0x34]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x48]
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
lea eax, [ebp + eax*4 + 0x2e0fc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jae 0x41f6ac
sub ecx, eax
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [ebp + edx*8 + 0x34]
mov dword [esp + 0x2c], eax
add edx, 0x28
dec ecx
mov dword [edx], 0xfffffff
jne 0x41f69c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test edx, edx
mov ecx, dword [eax]
jne 0x41f6e5
mov eax, dword [esp + 0x50]
mov edx, 0x800
sub edx, dword [ebp + eax*4 + 0x28420]
mov eax, dword [ebp + edi*4 + 0x28390]
shr eax, 2
shr edx, 2
mov edx, dword [edx*4 + 0x47987c]
add edx, dword [eax*4 + 0x47987c]
add ecx, edx
jmp 0x41f751
mov eax, 0x800
sub eax, dword [ebp + edi*4 + 0x28390]
shr eax, 2
add ecx, dword [eax*4 + 0x47987c]
cmp edx, 1
jne 0x41f713
mov eax, dword [ebp + edi*4 + 0x283c0]
shr eax, 2
add ecx, dword [eax*4 + 0x47987c]
jmp 0x41f755
mov eax, 0x800
add edx, 0xfffffffe
sub eax, dword [ebp + edi*4 + 0x283c0]
mov edi, dword [ebp + edi*4 + 0x283f0]
sub edi, edx
neg edx
xor edi, edx
shr edi, 2
shr eax, 2
and edi, 0x1ff
mov edx, dword [eax*4 + 0x47987c]
mov eax, dword [edi*4 + 0x47987c]
mov edi, dword [esp + 0x4c]
add edx, eax
add ecx, edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esi]
cmp ecx, eax
jae 0x41f771
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov byte [esi - 0xb], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
sub eax, 0x40
sub esi, 0x28
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
dec ecx
dec eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], eax
jne 0x41f685
mov eax, dword [esp + 0x34]
inc edx
cmp edx, 4
mov dword [esp + 0x20], edx
jb 0x41f5f5
mov esi, dword [esp + 0x40]
cmp esi, eax
jbe 0x41f7b7
mov esi, eax
mov dword [esp + 0x40], esi
cmp esi, 2
jb 0x41f0c4
jne 0x41f7d2
cmp dword [ebp + 0x325d8], 0x80
jae 0x41f0c4
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + edx*4 + 0x28360]
add ecx, esi
shr eax, 2
mov eax, dword [eax*4 + 0x47987c]
add eax, edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jae 0x41f81a
sub ecx, eax
lea edx, [eax + eax*4]
add eax, ecx
lea edx, [ebp + edx*8 + 0x34]
mov dword [esp + 0x2c], eax
add edx, 0x28
dec ecx
mov dword [edx], 0xfffffff
jne 0x41f80e
mov edi, dword [ebp + esi*4 + 0x325d0]
cmp esi, 2
mov dword [esp + 0x78], edi
jne 0x41f83c
cmp edi, 0x80
jb 0x41f83c
mov edx, 0xfffffff
jmp 0x41f8d1
lea ecx, [esi - 2]
cmp ecx, 4
jb 0x41f849
mov ecx, 3
cmp edi, 0x80
jae 0x41f85f
shl ecx, 7
add ecx, edi
mov ecx, dword [ebp + ecx*4 + 0x32e34]
jmp 0x41f8bd
cmp edi, 0x10000
jae 0x41f879
mov eax, edi
xor edx, edx
shr eax, 6
mov dl, byte [eax + 0x479474]
add edx, 0xc
jmp 0x41f8a5
cmp edi, 0x2000000
mov edx, edi
jae 0x41f895
shr edx, 0xf
xor eax, eax
mov al, byte [edx + 0x479474]
mov edx, eax
add edx, 0x1e
jmp 0x41f8a5
shr edx, 0x18
xor eax, eax
mov al, byte [edx + 0x479474]
mov edx, eax
add edx, 0x30
shl ecx, 6
add ecx, edx
mov edx, edi
and edx, 0xf
mov ecx, dword [ebp + ecx*4 + 0x32a34]
add ecx, dword [ebp + edx*4 + 0x33634]
mov edx, dword [esp + 0x48]
mov eax, esi
shl eax, 4
add eax, edx
mov edx, dword [ebp + eax*4 + 0x294b0]
add edx, ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
add edx, ecx
lea ecx, [eax + esi + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ecx
lea ecx, [ecx + ecx*4]
cmp edx, dword [ebp + ecx*8 + 0xc]
lea ecx, [ebp + ecx*8]
jae 0x41f904
mov dword [ecx + 0xc], edx
lea edx, [edi + 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov byte [ecx + 1], 0
mov al, byte [ebp + 0x32a19]
test al, al
je 0x41fb29
mov eax, dword [esp + 0x34]
lea ecx, [esi + 1]
inc edi
cmp ecx, eax
mov dword [esp + 0x3c], edi
jae 0x41f937
mov dl, byte [ecx + ebx]
mov eax, ecx
sub eax, edi
cmp dl, byte [eax + ebx]
jne 0x41f937
mov eax, dword [esp + 0x34]
inc ecx
cmp ecx, eax
jb 0x41f922
sub ecx, esi
dec ecx
cmp ecx, 2
mov dword [esp + 0x1c], ecx
jb 0x41fb29
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
add edx, esi
mov cl, byte [eax + 0x4669b0]
mov eax, edx
mov byte [esp + 0x28], cl
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x33680]
and edi, 0xff
and eax, ecx
mov ecx, edi
shl ecx, 4
add eax, ecx
mov eax, dword [ebp + eax*4 + 0x28060]
shr eax, 2
mov ecx, dword [eax*4 + 0x47987c]
mov al, byte [ebx + esi - 1]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x74], al
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub ecx, eax
mov al, byte [ecx + ebx]
mov cl, byte [esi + ebx]
mov ebx, dword [ebp + 0x325c4]
mov byte [esp + 0x84], cl
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov cl, 8
and eax, 0xff
sub cl, bl
push 1
shr eax, cl
mov ecx, dword [ebp + 0x325cc]
and ecx, edx
mov edx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 0x325c0]
shl edx, cl
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 0xa
add ecx, ebx
call fcn.0041d7e0
mov edx, dword [esp + 0x9c]
mov cl, byte [edi + 0x4669a4]
mov edi, dword [ebp + 0x33680]
mov byte [esp + 0x28], cl
lea edx, [esi + edx + 1]
mov ebx, 0x800
and edx, edi
mov edi, dword [esp + 0x28]
and edi, 0xff
mov ecx, edi
shl ecx, 4
add ecx, edx
mov dword [esp + 0x50], ecx
sub ebx, dword [ebp + ecx*4 + 0x28060]
shr ebx, 2
mov ecx, dword [ebx*4 + 0x47987c]
mov ebx, 0x800
sub ebx, dword [ebp + edi*4 + 0x28360]
shr ebx, 2
add ecx, dword [ebx*4 + 0x47987c]
mov ebx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x38]
add ecx, ebx
mov ebx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + esi + 1]
mov dword [esp + 0x14], eax
add eax, ebx
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
jae 0x41faa3
lea ebx, [ebx + ebx*4]
lea ebx, [ebp + ebx*8 + 0x34]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
sub eax, ebx
add ebx, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
add ebx, 0x28
dec eax
mov dword [ebx], 0xfffffff
jne 0x41fa97
mov edi, dword [ebp + edi*4 + 0x28390]
mov ebx, dword [esp + 0x50]
mov eax, 0x800
sub eax, dword [ebp + ebx*4 + 0x28420]
shr edi, 2
shr eax, 2
mov ebx, dword [edi*4 + 0x47987c]
mov edi, dword [esp + 0x1c]
mov eax, dword [eax*4 + 0x47987c]
shl edi, 4
add edi, edx
add eax, ebx
mov edx, dword [ebp + edi*4 + 0x2e0fc]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x14]
lea ecx, [edx + ecx + 1]
lea ecx, [ecx + ecx*4]
mov edi, dword [ebp + ecx*8 + 0xc]
lea ecx, [ebp + ecx*8]
cmp eax, edi
jae 0x41fb25
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
add edx, 4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
mov byte [ecx + 1], 1
mov byte [ecx + 2], 1
mov dword [ecx + 8], edx
mov ebx, dword [esp + 0x24]
dec esi
cmp esi, 2
jae 0x41f81a
jmp 0x41f0c4
mov eax, dword [esp + 0xa0]
push esi
push eax
jmp 0x41fb59
mov edx, dword [esp + 0xa0]
push esi
mov dword [ebp + 0x32a20], eax
mov byte [ebp + 0x32a30], 1
push edx
mov ecx, ebp
call fcn.0041ea70
mov ecx, dword [esp + 0xa4]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc