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

Disassembly:
sub esp, 0xc54
push ebx
push ebp
push esi
mov esi, dword [0x519990]
push edi
xor edi, edi
cmp esi, edi
jne 0x41eff3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc54
ret
cmp byte [esi], 0
jne 0x41f011
mov dword [esi + 0x400], edi
mov dword [0x519990], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc54
ret
mov eax, dword [0x5b5fa4]
mov ecx, dword [0x5199a8]
mov edx, dword [eax]
xor ebx, ebx
cmp ecx, edx
mov dword [esp + 0x24], ebx
je 0x41f0a0
cmp dword [0x4c381c], edi
jne 0x41f098
cmp dword [0x518970], edi
jne 0x41f098
call fcn.004276a0
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
add ebp, 3
mov edx, 0x9c40
sub edx, ebp
push edx
lea eax, [ebx + ebp]
push eax
push ebx
call fcn.004637e0
mov edi, ebx
sub edi, ebp
lea ecx, [ebp - 2]
mov edx, ecx
shr ecx, 2
add edi, 0x9c40
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebx + 0x9c3e], bp
mov esi, dword [0x519990]
mov eax, dword [0x5b5fa4]
mov ebx, dword [esp + 0x30]
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov dword [0x5199a8], ecx
cmp dword [0x518968], edi
jne 0x41f0fe
cmp dword [0x4c381c], edi
jne 0x41f0fe
mov ecx, dword [eax]
mov edx, dword [esp + 0xc68]
sub ecx, edx
mov dword [eax], ecx
cmp dword [0x518968], edi
jne 0x41f0e9
cmp dword [0x4c381c], edi
jne 0x41f0e9
push edi
call fcn.00426820
push edi
call fcn.00426820
push edi
push 2
push 0xf7a4c8d8
call fcn.0040fb60
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebp
mov dword [0x518968], eax
pop ebx
add esp, 0xc54
ret
push 0xa1b8
push esi
call fcn.00463b15
add esp, 8
test eax, eax
je 0x41f11a
mov dword [0x4c8848], 1
mov eax, dword [0x519990]
push 0xa1b9
push eax
call fcn.00463b15
add esp, 8
test eax, eax
je 0x41f137
mov dword [0x4c8848], edi
call fcn.0042cc50
test eax, eax
je 0x41f306
mov ecx, dword [0x519990]
push 0xa1b8
push ecx
call fcn.00463b15
add esp, 8
test eax, eax
je 0x41f1ec
cmp eax, dword [0x519990]
je 0x41f1ec
mov ecx, dword [0x5b5fa4]
mov esi, dword [ecx]
mov edx, dword [esp + 0xc68]
sub esi, edx
mov dword [ecx], esi
mov edx, dword [0x519990]
sub eax, edx
mov ecx, eax
mov ebx, ecx
shr ecx, 2
mov esi, edx
lea edi, [esp + 0x464]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [edx + eax]
mov byte [esp + eax + 0x464], 0
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
call fcn.004637e0
lea eax, [esp + 0x470]
push eax
call fcn.00426920
push 0
push 1
push 0x44a4ff72
call fcn.0040fb60
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc54
ret
mov ebp, 0x4a82d8
mov ecx, dword [ebp]
mov edx, dword [0x519990]
push ecx
push edx
call fcn.0046310f
mov edx, eax
add esp, 8
test edx, edx
je 0x41f22b
or ecx, 0xffffffff
lea esi, [edx + 2]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ebx, 5
add ebp, 4
cmp ebp, 0x4a82e0
jb 0x41f1f1
mov dword [esp + 0x24], ebx
mov ebp, 0x4a82e0
mov ecx, dword [ebp]
mov edx, dword [0x519990]
push ecx
push edx
call fcn.0046310f
mov edx, eax
add esp, 8
test edx, edx
je 0x41f27a
or ecx, 0xffffffff
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
lea edi, [edx + 2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ebx, 6
add ebp, 4
cmp ebp, 0x4a82e8
jb 0x41f23f
mov ecx, dword [0x519990]
push 0x4a8504
push ecx
mov dword [esp + 0x2c], ebx
call fcn.0046310f
mov edx, eax
add esp, 8
test edx, edx
je 0x41f2c8
or ecx, 0xffffffff
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
or ebx, 1
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], ebx
mov eax, dword [0x519990]
push 0x4a84fc
push eax
call fcn.0046310f
mov edx, eax
add esp, 8
test edx, edx
je 0x41f306
or ecx, 0xffffffff
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
or ebx, 2
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], ebx
mov eax, dword [0x4c4e9c]
mov esi, dword [0x4c4e68]
mov edx, dword [0x4c4e94]
mov ecx, dword [0x4c4e8c]
sub eax, esi
add eax, edx
cmp ecx, eax
jle 0x41f3ba
call fcn.00411920
test eax, eax
jne 0x41f35b
mov ecx, dword [0x519990]
push ecx
lea edx, [esp + 0x468]
push str.message_:
push edx
call fcn.00462db0
lea eax, [esp + 0x470]
push eax
call fcn.00410880
add esp, 0x10
mov ecx, dword [0x4c4e90]
mov edx, dword [0x4c4e94]
mov eax, dword [0x5b5fa4]
mov dword [0x4c4e88], ecx
mov ecx, dword [esp + 0xc68]
mov dword [0x4c4e8c], edx
mov dword [0x4c4ea0], 0
sub dword [eax], ecx
call fcn.00411920
test eax, eax
jne 0x41f399
call fcn.0042ca50
push 0
push 0
push 0x93b38a0b
call fcn.0040fb60
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc54
ret
mov ebx, dword [0x519990]
mov ebp, 0x4c4e40
xor esi, esi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x64], 0
mov dword [esp + 0x3c], esi
call fcn.00411920
test eax, eax
je 0x41f3fa
mov byte [ebx], 0
call fcn.00411950
test eax, eax
jne 0x41fac4
mov dword [esp + 0x3c], 1
jmp 0x41fac4
cmp byte [ebx], 0
je 0x41fac4
xor edx, edx
cmp edx, 0x4c4e40
jne 0x41f416
mov ebp, 0x4a8268
mov dword [esp + 0x14], ebp
call fcn.0042cc00
test eax, eax
je 0x41f4d9
mov eax, dword [ebp + 0x60]
cmp eax, esi
je 0x41f4d9
mov ecx, dword [ebp + 0x50]
add ecx, eax
cmp dword [ebp + 0x48], ecx
jne 0x41f4d9
mov ax, word [ebx]
mov edx, 0x4a84d0
cmp ax, word [edx]
jne 0x41f471
lea esi, [ebx + 2]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.004637e0
mov dx, word [ebx]
mov ecx, 0x4a84d0
add esp, 0xc
cmp dx, word [ecx]
je 0x41f44c
xor esi, esi
mov cl, byte [ebx]
mov eax, 0x4a7144
cmp cl, byte [eax]
jne 0x41f4a4
lea esi, [ebx + 1]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.004637e0
mov al, byte [ebx]
mov edx, 0x4a7144
mov cl, byte [edx]
add esp, 0xc
cmp al, cl
je 0x41f47f
xor esi, esi
mov dx, word [ebx]
mov ecx, 0x4a84d0
cmp dx, word [ecx]
jne 0x41f4d9
lea esi, [ebx + 2]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.004637e0
mov cx, word [ebx]
mov eax, 0x4a84d0
add esp, 0xc
cmp cx, word [eax]
je 0x41f4b4
xor esi, esi
mov eax, dword [0x4a82d4]
sub eax, esi
je 0x41f4f6
dec eax
je 0x41f4fd
dec eax
jne 0x41f4fd
call fcn.00411960
neg eax
sbb eax, eax
inc eax
cmp eax, esi
jne 0x41f4fd
mov eax, 1
jmp 0x41f502
mov eax, 4
push eax
push ebp
mov dword [esp + 0x48], eax
call fcn.0041aab0
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x58]
lea edx, [esp + 0x6c]
mov dword [esp + 0x30], edx
sub eax, dword [ebp + 0x48]
add eax, ecx
mov byte [esp + 0x6c], 0
mov dword [esp + 0x40], eax
mov al, byte [ebx]
add esp, 8
test al, al
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
je 0x41fac4
mov dword [esp + 0x44], 0x4c4eac
mov edi, dword [esp + 0x28]
push ebx
mov dword [esp + 0x20], edi
call fcn.0046422b
mov ebp, eax
sub eax, ebx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
cmp eax, 2
rep movsb byte es:[edi], byte [esi]
jl 0x41f596
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [esi + 1]
xor edx, edx
mov dl, byte [esi]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x30], ecx
jmp 0x41f5a4
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [edx]
mov esi, edx
mov dword [esp + 0x30], ecx
add esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x28], esi
mov byte [esi], 0
je 0x41f5d2
mov eax, dword [esp + 0x30]
mov ecx, dword [eax*4 + 0x4d895c]
test ecx, ecx
je 0x41f5d2
xor ecx, ecx
mov cl, byte [eax + 0x4c895c]
mov eax, ecx
test eax, eax
jne 0x41f615
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x4c]
push edx
dec ecx
push ecx
mov ecx, dword [0x51999c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x49f078]
cmp dword [esp + 0x40], 4
jne 0x41f611
mov edx, dword [esp + 0x4c]
lea eax, [edx + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
jmp 0x41f615
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add esi, eax
mov dword [ecx], eax
add ecx, 4
inc edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], ecx
call fcn.0042cc90
cmp eax, 2
jl 0x41f6e2
call fcn.0042cc90
mov ecx, dword [esp + 0x14]
imul eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0x38]
shl eax, 1
sub edx, eax
cmp esi, edx
jle 0x41f6e2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41f6d1
mov eax, dword [0x519998]
test eax, eax
jne 0x41f697
push 0x4a84b8
push 0x100
push 0x4c3824
push 0x4a84a8
call fcn.004566f0
add esp, 0x10
mov dword [0x519998], 1
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jb 0x41f6d1
mov eax, dword [esp + 0x20]
mov cx, word [eax]
lea edx, [esp + 0x34]
push edx
push 0x4c3824
mov word [esp + 0x3c], cx
mov byte [esp + 0x3e], 0
call fcn.00464320
add esp, 8
test eax, eax
jne 0x41f6e2
push ebx
call fcn.0041fd70
add esp, 4
test eax, eax
je 0x41f900
cmp esi, dword [esp + 0x38]
jg 0x41f922
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebp
push ebx
call fcn.004637e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
add esp, 0xc
mov dword [esp + 0x20], ecx
mov esi, 0x4a84a4
mov eax, ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f73d
test cl, cl
je 0x41f739
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f73d
add eax, 2
add esi, 2
test cl, cl
jne 0x41f719
xor eax, eax
jmp 0x41f742
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f76c
call fcn.0042cc00
test eax, eax
je 0x41f761
call fcn.0042cc20
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x60], eax
jmp 0x41f76c
mov edx, dword [esp + 0x14]
mov dword [edx + 0x60], 0
mov eax, dword [esp + 0x1c]
mov esi, 0x4a84a0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f799
test cl, cl
je 0x41f795
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f799
add eax, 2
add esi, 2
test cl, cl
jne 0x41f775
xor eax, eax
jmp 0x41f79e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f7ad
mov eax, dword [esp + 0x14]
mov dword [eax + 0x60], 0
test byte [esp + 0x24], 4
je 0x41f8f2
mov eax, dword [esp + 0x1c]
mov esi, 0x4a849c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f7e5
test cl, cl
je 0x41f7e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f7e5
add eax, 2
add esi, 2
test cl, cl
jne 0x41f7c1
xor eax, eax
jmp 0x41f7ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f814
call fcn.0042cc00
test eax, eax
je 0x41f809
call fcn.0042cc20
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x60], eax
jmp 0x41f814
mov edx, dword [esp + 0x14]
mov dword [edx + 0x60], 0
mov eax, dword [esp + 0x1c]
mov esi, 0x4a8498
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f841
test cl, cl
je 0x41f83d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f841
add eax, 2
add esi, 2
test cl, cl
jne 0x41f81d
xor eax, eax
jmp 0x41f846
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f855
mov eax, dword [esp + 0x14]
mov dword [eax + 0x60], 0
mov eax, dword [esp + 0x1c]
mov esi, 0x4a8494
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f882
test cl, cl
je 0x41f87e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f882
add eax, 2
add esi, 2
test cl, cl
jne 0x41f85e
xor eax, eax
jmp 0x41f887
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f8b1
call fcn.0042cc00
test eax, eax
je 0x41f8a6
call fcn.0042cc20
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x60], eax
jmp 0x41f8b1
mov edx, dword [esp + 0x14]
mov dword [edx + 0x60], 0
mov eax, dword [esp + 0x1c]
mov esi, 0x4a8490
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41f8de
test cl, cl
je 0x41f8da
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41f8de
add eax, 2
add esi, 2
test cl, cl
jne 0x41f8ba
xor eax, eax
jmp 0x41f8e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f8f2
mov eax, dword [esp + 0x14]
mov dword [eax + 0x60], 0
cmp byte [ebx], 0
jne 0x41f552
jmp 0x41fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x4c4ea8]
dec eax
sub esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov byte [ecx], 0
jmp 0x41fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x4c4ea8]
mov edx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
sub esi, ecx
test eax, eax
mov dword [esp + 0x10], esi
mov byte [edx], 0
je 0x41fa80
call fcn.0042cc90
test eax, eax
jne 0x41f978
mov eax, dword [esp + 0x20]
push eax
call fcn.0041fdf0
add esp, 4
test eax, eax
jne 0x41f9a5
push ebx
call fcn.0041fd70
add esp, 4
test eax, eax
je 0x41fa80
jmp 0x41f9a5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x2c]
lea ecx, [eax + edx*2]
cmp ecx, dword [esp + 0x38]
jle 0x41fa80
mov edx, dword [esp + 0x20]
push edx
call fcn.0041fd70
add esp, 4
test eax, eax
jne 0x41fa80
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41fa80
push eax
call fcn.0041fdf0
add esp, 4
test eax, eax
jne 0x41fa12
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x4c4ea8]
mov ebp, dword [esp + 0x10]
dec eax
sub ebp, ecx
or ecx, 0xffffffff
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
push ecx
lea edx, [esi + ebx]
push ebx
push edx
call fcn.004637e0
mov ecx, esi
mov eax, ecx
add esp, 0xc
shr ecx, 2
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x41fa77
call fcn.0042cc90
test eax, eax
je 0x41fa80
mov eax, dword [esp + 0x18]
mov edx, dword [eax*4 + 0x4c4ea8]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
dec eax
mov edi, dword [eax*4 + 0x4c4ea8]
sub ecx, edx
sub ecx, edi
dec eax
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
mov dword [esp + 0x18], eax
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esi + ebx]
push ebx
push ecx
call fcn.004637e0
mov ecx, esi
mov edx, ecx
add esp, 0xc
shr ecx, 2
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp], 0
cmp byte [ebx], 0
je 0x41fac4
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41fac4
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esi + 0x50]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ebp
push eax
push ecx
call fcn.00479620
mov edx, dword [esi + 0x58]
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
sub edx, ecx
add esp, 8
add edx, eax
mov dword [0x4c8840], edx
lea eax, [esp + 0x64]
push 0x7c
push eax
xor ebp, ebp
call fcn.00463b15
add esp, 8
cmp eax, ebp
je 0x41faef
lea ecx, [esp + 0x64]
push 0x7c
push ecx
mov byte [eax], 0x20
call fcn.00463b15
add esp, 8
cmp eax, ebp
jne 0x41fad9
lea edx, [esp + 0x64]
push 0x81f1
push edx
call fcn.00463b15
add esp, 8
cmp eax, ebp
je 0x41fb25
mov cx, word [0x4a84d0]
lea edx, [esp + 0x64]
push 0x81f1
push edx
mov word [eax], cx
call fcn.00463b15
add esp, 8
cmp eax, ebp
jne 0x41fb05
mov al, byte [esp + 0x64]
test al, al
jne 0x41fb96
mov eax, dword [0x5b5fa4]
mov esi, dword [eax]
mov ecx, dword [esp + 0xc68]
sub esi, ecx
mov dword [eax], esi
mov edx, dword [0x4c4ea0]
mov eax, dword [0x4c4e90]
mov ecx, dword [0x4c4e70]
add eax, edx
mov edx, dword [0x4c4e8c]
mov dword [0x4c4e88], eax
mov eax, dword [esp + 0x3c]
add edx, ecx
cmp eax, ebp
mov dword [0x4c4e8c], edx
mov dword [0x4c37dc], ebp
je 0x41fd5d
push ebp
push ebp
push 0x1a95282e
call fcn.0040fb60
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc54
ret
cmp dword [0x4c37dc], ebp
je 0x41fbda
cmp dword [0x518970], ebp
jne 0x41fbda
cmp dword [0x4c3768], ebp
jne 0x41fbda
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, 0x4c3a34
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x64]
push 0xa1b8
push eax
call fcn.00463b15
add esp, 8
test eax, eax
jne 0x41fbf7
test byte [esp + 0x24], 1
je 0x41fc31
mov ecx, dword [0x4c8844]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [ecx + edx*4]
shl eax, 2
mov dword [eax + 0x4c5eb8], 1
mov dl, byte [eax + 0x4c5ebc]
test dl, dl
je 0x41fc31
mov edx, dword [0x4c4e8c]
inc ecx
mov dword [eax + 0x4c5eb0], edx
mov dword [0x4c8844], ecx
mov edx, dword [0x4c4e84]
push 1
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
push 0x4c4e40
call fcn.0041acd0
mov esi, eax
lea eax, [esp + 0x78]
push 0xa1b9
push eax
call fcn.00463b15
mov edx, dword [0x4c4e70]
mov ecx, dword [0x519990]
add esp, 0x1c
test eax, eax
jne 0x41fc7e
test byte [esp + 0x24], 2
je 0x41fcb8
cmp byte [ecx], 0
jne 0x41fcdd
mov eax, dword [0x4c8844]
cmp eax, ebp
je 0x41fcb8
mov edi, eax
shl edi, 5
add edi, eax
lea eax, [eax + edi*4]
shl eax, 2
mov dword [eax + 0x4c5ca4], ebp
cmp dword [eax + 0x4c5ca0], ebp
jne 0x41fcb8
mov edi, dword [0x4c4e8c]
mov ebx, dword [eax + 0x4c5c9c]
add edi, edx
sub edi, ebx
mov dword [eax + 0x4c5ca0], edi
cmp byte [ecx], 0
jne 0x41fcdd
mov dword [ecx + 0x400], ebp
mov eax, dword [0x4c4e88]
add eax, esi
mov dword [0x519990], ebp
mov dword [0x4c4e88], eax
mov dword [0x5199a8], ebp
jmp 0x41fcfb
mov ecx, dword [0x4c4ea0]
mov eax, dword [0x4c4e90]
add eax, ecx
mov dword [0x4c4e88], eax
add dword [0x4c4e8c], edx
mov dword [0x4c37dc], ebp
mov eax, dword [0x5b5fa4]
mov edi, dword [eax]
mov ecx, dword [esp + 0xc68]
sub edi, ecx
mov dword [eax], edi
mov edx, dword [0x4c4e7c]
push edx
call fcn.00426820
mov eax, dword [esp + 0x64]
push eax
call fcn.00426820
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00426820
mov edx, dword [esp + 0x64]
push edx
call fcn.00426820
mov eax, dword [esp + 0x64]
push eax
call fcn.00426820
mov ecx, dword [0x4c4e84]
push ecx
call fcn.00426820
push ebp
push 6
push 0x47bb540c
call fcn.0040fb60
add esp, 0x24
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc54
ret