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

Disassembly:
push 0xffffffffffffffff
push 0x4e920f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
mov al, byte [esp + 0x33]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x78], esi
call fcn.004be970
lea ecx, [esp + 0x10]
mov byte [esp + 0x1d4], 1
call fcn.004be970
mov cl, byte [esp + 0x43]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x24], esp
push esi
mov byte [esp + 0x1e8], 2
mov byte [ebx], cl
mov ecx, ebx
call fcn.00411e90
mov edi, 0x520168
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00412290
test al, al
je 0x41c942
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520168
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
xor esi, esi
mov byte [ebp], 0
push esi
lea ecx, [esp + 0x40]
call fcn.004cabb0
mov ebx, dword [esp + 0x6c]
mov byte [esp + 0x1d4], 3
mov ecx, ebx
call fcn.0041fe40
mov edi, eax
call fcn.004cd4a0
test al, al
jne 0x41c9e3
cmp di, si
jg 0x41c9e3
push 1
lea ecx, [esp + 0x34]
lea ebx, [edi + 1]
mov byte [esp + 0x1d8], 2
call fcn.00411e90
lea ecx, [esp + 0x10]
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x41c9d2
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41c9c0
mov esi, dword [esp + 0x20]
push esi
call fcn.004deb10
add esp, 4
mov ax, bx
jmp 0x41dec3
mov ecx, ebx
call fcn.00481930
cmp ax, 0xffff
jne 0x41ca7c
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x41ca19
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41ca10
cmp al, 0xff
je 0x41ca10
dec al
mov byte [ecx], al
jmp 0x41ca19
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41ca64
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
mov byte [esp + 0x68], al
mov dword [esp + 0x78], 1
mov ebx, dword [esp + 0x6c]
xor edi, edi
or ebp, 0xffffffff
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50fb5c
call fcn.004bea10
push esi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50fa00
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50fb4c
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0xcc]
and eax, 0xff
push eax
push 0x50f938
push ecx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea edx, [esp + 0x57]
mov ecx, esp
mov dword [esp + 0x6c], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 4
call fcn.00411a00
push ecx
mov byte [esp + 0x1ec], 5
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f9a0
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1ec], 3
call fcn.004d15e0
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov esi, eax
call fcn.004bba40
add esp, 4
cmp si, 2
je 0x41d6c3
movsx eax, si
sub eax, edi
je 0x41cbd0
dec eax
je 0x41cbe9
jmp 0x41ca91
mov ecx, ebx
call fcn.00481930
cmp ax, bp
je 0x41ca91
mov byte [esp + 0x68], al
jmp 0x41ca91
mov cl, byte [esp + 0x68]
lea edx, [esp + 0x10]
push 0xfe
mov byte [0x50fdd7], cl
push edx
push 0x50fdd0
mov ecx, ebx
call fcn.00419700
movsx esi, ax
call fcn.004cd4a0
test al, al
je 0x41cc3d
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004be9a0
lea ecx, [esp + 0x14]
call fcn.004beca0
push 6
push 0x510098
lea ecx, [esp + 0x18]
call fcn.004bf050
jmp 0x41cc45
cmp esi, edi
jle 0x41d745
lea ecx, [esp + 0x10]
call fcn.004bee30
cmp ax, 3
jl 0x41d8e9
push 2
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x7f
je 0x41d80c
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], edi
and eax, 0xff
mov dword [esp + 0x58], ebp
mov dword [esp + 0x14], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb5c
call fcn.004bea10
push esi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
mov edi, dword [esp + 0x60]
test di, di
jne 0x41cccb
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50fb34
jmp 0x41cd19
cmp di, 1
jne 0x41cd03
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50fb34
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50fb24
jmp 0x41cd19
cmp di, 2
jne 0x41cd29
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50fb14
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xcc]
push eax
push 0x50f938
push ecx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea edx, [esp + 0x89]
mov ecx, esp
mov dword [esp + 0x78], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 9
call fcn.00411a00
push ecx
mov byte [esp + 0x1ec], 0xa
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x50f9a0
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1ec], 3
call fcn.004d15e0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00411ee0
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
lea edx, [esp + 0x78]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x30], esi
call fcn.00417f90
mov esi, eax
call fcn.004cd4a0
test al, al
jne 0x41ce10
test si, si
jle 0x41d9c6
movsx edx, word [esp + 0x78]
push edx
lea eax, [esp + 0xd0]
push 0x50f938
push eax
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea edx, [esp + 0x8a]
mov ecx, esp
mov dword [esp + 0x78], esp
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x1f0], 0xc
call fcn.00411a00
push ecx
mov byte [esp + 0x1ec], 0xd
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50fb2c
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1ec], 3
call fcn.004d15e0
test di, di
je 0x41cf14
movsx ecx, word [esp + 0x58]
push ecx
lea edx, [esp + 0xd0]
push 0x50f938
push edx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [esp + 0x63]
mov ecx, esp
mov dword [esp + 0x78], esp
lea edx, [esp + 0xe0]
push eax
push edx
mov byte [esp + 0x1f0], 0xe
call fcn.00411a00
push ecx
mov byte [esp + 0x1ec], 0xf
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50fb1c
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1ec], 3
call fcn.004d15e0
xor esi, esi
xor ebx, ebx
mov edi, dword [esp + 0x20]
test edi, edi
je 0x41d070
mov ecx, dword [esp + 0x24]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x41d070
mov al, byte [ebx + edi]
push esi
cmp al, 1
lea ecx, [esp + 0x20]
jne 0x41d000
call fcn.00411ba0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.0047e730
test ax, ax
je 0x41d067
push 0
push 0xffff
push esi
lea ecx, [esp + 0x28]
call fcn.00411ba0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.004be980
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 0x10
call fcn.00411ba0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.004118e0
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f4], 0x11
call fcn.00411ba0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004be980
mov ecx, dword [0x520208]
mov byte [esp + 0x1f4], 3
call fcn.004cebe0
inc esi
add ebx, 0x1c
jmp 0x41cf18
call fcn.00411ba0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004be980
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 0x12
call fcn.00411ba0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.004118e0
push ecx
mov byte [esp + 0x1ec], 0x13
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f998
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1ec], 3
call fcn.004d15e0
inc esi
add ebx, 0x1c
jmp 0x41cf18
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov esi, eax
call fcn.004bba40
mov eax, dword [esp + 0x64]
xor edi, edi
add esp, 4
cmp ax, di
jne 0x41d328
cmp si, 1
je 0x41da94
cmp si, di
jne 0x41cc80
push 0xffff
lea ecx, [esp + 0xd0]
push 0x50f938
push ecx
call fcn.004df246
mov dl, byte [esp + 0x5b]
push ecx
mov ebp, esp
xor esi, esi
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x60], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00412290
test al, al
je 0x41d11e
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0xdc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00412270
xor esi, esi
sub esp, 0x10
lea edx, [esp + 0x9f]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
push 0x50f8ec
mov byte [esp + 0x1fc], 0x14
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0xae]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push 0x50fa38
mov byte [esp + 0x20c], 0x15
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x97]
mov ecx, esp
mov dword [esp + 0xc0], esp
push edx
push 0x520168
mov byte [esp + 0x21c], 0x16
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x224], 0x17
mov edi, esp
mov dword [esp + 0xac], esp
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push 0x50fb34
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x234], 0x18
mov edi, esp
mov dword [esp + 0xa8], esp
push ecx
mov ecx, esp
mov dword [esp + 0xac], esp
push 6
push 0x50fb34
call fcn.004bea10
push edi
call fcn.004d0560
add esp, 8
lea eax, [esp + 0x104]
mov ecx, 0x520200
mov byte [esp + 0x234], 3
push eax
call fcn.004cb970
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x30], cx
push esi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 0x19
call fcn.00411c90
mov eax, dword [esp + 0xac]
mov byte [esp + 0x1d4], 3
cmp eax, esi
je 0x41d25f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d256
cmp al, 0xff
je 0x41d256
dec al
mov byte [ecx], al
jmp 0x41d25f
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
call fcn.004c4fe0
cmp ax, 2
je 0x41cc80
lea eax, [esp + 0x84]
lea ecx, [esp + 0x2c]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
test edi, edi
jne 0x41d2a4
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xcc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x41d2f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d2e9
cmp al, 0xff
je 0x41d2e9
dec al
mov byte [ecx], al
jmp 0x41d2f2
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x88], esi
push ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.004df3b8
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 1
jmp 0x41cc80
cmp ax, 1
jne 0x41d6a1
cmp si, 2
je 0x41db32
movsx eax, si
sub eax, edi
je 0x41d37c
dec eax
jne 0x41cc80
mov eax, dword [esp + 0x58]
push 0x50fde8
mov edx, eax
push 0x50fddc
sar edx, 8
mov ecx, ebp
mov byte [0x50fde3], dl
mov byte [0x50fde9], al
call fcn.0041b860
mov dword [esp + 0x60], 2
jmp 0x41cc80
push 0xff
lea eax, [esp + 0xd0]
push 0x50f938
push eax
call fcn.004df246
push ecx
mov cl, byte [esp + 0x67]
mov ebp, esp
xor eax, eax
lea edi, [esp + 0xdc]
mov dword [esp + 0x58], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00412290
test al, al
je 0x41d3f1
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xdc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea eax, [esp + 0x93]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
push 0x50f8ec
mov byte [esp + 0x1fc], 0x1c
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0xb0], esp
push edx
push 0x50fa38
mov byte [esp + 0x20c], 0x1d
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0xb7]
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
push 0x520168
mov byte [esp + 0x21c], 0x1e
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x224], 0x1f
mov esi, esp
mov dword [esp + 0xb4], esp
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x234], 0x20
mov esi, esp
mov dword [esp + 0x78], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
add esp, 8
lea ecx, [esp + 0x118]
mov byte [esp + 0x234], 3
push ecx
mov ecx, 0x520200
call fcn.004cb970
mov dx, word [eax]
mov ecx, dword [0x4f73d0]
lea esi, [eax + 4]
mov word [esp + 0x2c], dx
mov byte [esp + 0x1d4], 0x21
mov eax, dword [esi + 8]
mov ebp, eax
cmp ecx, ebp
jae 0x41d4f8
mov ebp, ecx
lea edx, [esp + 0x30]
cmp edx, esi
jne 0x41d51d
push ecx
push ebp
lea ecx, [esp + 0x38]
call fcn.00412150
xor ebx, ebx
lea ecx, [esp + 0x30]
push ebx
push ebx
call fcn.00412150
jmp 0x41d5a8
xor ebx, ebx
cmp ebp, ebx
jbe 0x41d56c
cmp ebp, eax
jne 0x41d56c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x41d533
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x41d56c
push 1
lea ecx, [esp + 0x34]
call fcn.00411e90
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x41d550
mov eax, 0x4f7480
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x38], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x3c], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x41d5a8
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.00412290
test al, al
je 0x41d5a8
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x41d588
mov esi, 0x4f7480
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0xc0]
mov byte [esp + 0x1d4], 3
cmp eax, ebx
je 0x41d5d8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d5cf
cmp al, 0xff
je 0x41d5cf
dec al
mov byte [ecx], al
jmp 0x41d5d8
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.004c4fe0
cmp ax, 2
je 0x41cc80
lea edx, [esp + 0x94]
lea ecx, [esp + 0x2c]
push edx
call fcn.004cacf0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x41d61f
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xcc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x98]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x41d66b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d662
cmp al, 0xff
je 0x41d662
dec al
mov byte [ecx], al
jmp 0x41d66b
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x98], ebx
push ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.004df3b8
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 1
jmp 0x41cc80
cmp si, 1
je 0x41dbff
cmp si, di
je 0x41dd1c
cmp ax, 3
jne 0x41cc80
jmp 0x41ca88
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x41d6e6
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x41d6dd
cmp al, 0xff
je 0x41d6dd
dec al
mov byte [ecx], al
jmp 0x41d6e6
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], ebp
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41d72d
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1e4], 6
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1e4], 3
call fcn.004cb760
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41d7ad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d7a4
cmp al, 0xff
je 0x41d7a4
dec al
mov byte [ecx], al
jmp 0x41d7ad
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], ebp
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41d7f4
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1e4], 7
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1e4], 3
call fcn.004cb760
lea edx, [esp + 0x10]
push 0xfe
push edx
push 0x50fe1c
mov ecx, ebx
call fcn.00419700
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41d88a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d881
cmp al, 0xff
je 0x41d881
dec al
mov byte [ecx], al
jmp 0x41d88a
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], ebp
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41d8d1
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1e4], 8
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1e4], 3
call fcn.004cb760
lea eax, [esp + 0x10]
push 0xfe
push eax
push 0x50fe1c
mov ecx, ebx
call fcn.00419700
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41d967
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d95e
cmp al, 0xff
je 0x41d95e
dec al
mov byte [ecx], al
jmp 0x41d967
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], ebp
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41d9ae
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1e4], 0xb
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1e4], 3
call fcn.004cb760
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41da2f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41da26
cmp al, 0xff
je 0x41da26
dec al
mov byte [ecx], al
jmp 0x41da2f
push ecx
call fcn.004deb10
add esp, 4
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41da7c
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
lea ecx, [esp + 0x10]
push 0xfe
push ecx
push 0x50fe1c
mov ecx, ebp
call fcn.00419700
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41dacf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41dac6
cmp al, 0xff
je 0x41dac6
dec al
mov byte [ecx], al
jmp 0x41dacf
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x1d4], 0xffffffff
mov edi, eax
je 0x41dbf9
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x41db1a
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
lea edx, [esp + 0x10]
push 0xfe
push edx
push 0x50fe1c
mov ecx, ebp
call fcn.00419700
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41db6d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41db64
cmp al, 0xff
je 0x41db64
dec al
mov byte [ecx], al
jmp 0x41db6d
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x14], esi
je 0x41dbf9
mov bl, 0x1a
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1d8], 0x1b
call fcn.00411e90
lea ecx, [esi + 8]
mov byte [esp + 0x1d4], bl
call fcn.004beab0
lea ecx, [esi + 4]
mov dword [esp + 0x1d4], ebp
call fcn.004beab0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x41dbb7
mov esi, dword [esp + 0x20]
push esi
jmp 0x41deb7
lea eax, [esp + 0x10]
push 0xfe
push eax
push 0x50fe1c
mov ecx, ebp
call fcn.00419700
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41dc3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41dc31
cmp al, 0xff
je 0x41dc31
dec al
mov byte [ecx], al
jmp 0x41dc3a
push ecx
call fcn.004deb10
add esp, 4
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
or ebx, 0xffffffff
cmp edi, eax
mov dword [esp + 0x1d4], ebx
mov ebp, eax
mov dword [esp + 0x14], edi
je 0x41deb6
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
test eax, eax
mov dword [esp + 0x1d4], 0x23
je 0x41dcde
push eax
mov ecx, esi
call fcn.004123b0
cmp byte [eax], 0
je 0x41dccb
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.004123b0
cmp byte [eax], 0xff
je 0x41dccb
mov edx, dword [esi + 4]
mov ecx, esi
push edx
call fcn.004123b0
dec byte [eax]
jmp 0x41dcde
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
add eax, 2
dec ecx
push eax
push ecx
mov ecx, esi
call fcn.004123c0
xor eax, eax
lea ecx, [edi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x1d4], 0x22
call fcn.004beab0
lea ecx, [edi + 4]
mov dword [esp + 0x1d4], ebx
call fcn.004beab0
add edi, 0x1c
cmp edi, ebp
mov dword [esp + 0x14], edi
jne 0x41dc8a
jmp 0x41deb2
mov eax, dword [esp + 0x58]
push 0x50fdf8
mov edx, eax
push 0x50fdec
sar edx, 8
mov ecx, ebp
mov byte [0x50fdf3], dl
mov byte [0x50fdf9], al
call fcn.0041b860
lea eax, [esp + 0x10]
push 0xfe
push eax
push 0x50fdc8
mov ecx, ebp
call fcn.00419700
lea ecx, [esp + 0x10]
push 0xfe
push ecx
push 0x50fe1c
mov ecx, ebp
call fcn.00419700
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x1e4], 0x24
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50fb64
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1e4], 3
call fcn.004cb760
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41ddd5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41ddcc
cmp al, 0xff
je 0x41ddcc
dec al
mov byte [ecx], al
jmp 0x41ddd5
push ecx
call fcn.004deb10
add esp, 4
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x1d4], 1
call fcn.004beab0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d4], 0
call fcn.004beab0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
or ebx, 0xffffffff
cmp edi, eax
mov dword [esp + 0x1d4], ebx
mov ebp, eax
mov dword [esp + 0x14], edi
je 0x41deb6
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
test eax, eax
mov dword [esp + 0x1d4], 0x26
je 0x41de79
push eax
mov ecx, esi
call fcn.004123b0
cmp byte [eax], 0
je 0x41de66
mov edx, dword [esi + 4]
mov ecx, esi
push edx
call fcn.004123b0
cmp byte [eax], 0xff
je 0x41de66
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.004123b0
dec byte [eax]
jmp 0x41de79
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
add ecx, 2
dec edx
push ecx
push edx
mov ecx, esi
call fcn.004123c0
xor eax, eax
lea ecx, [edi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x1d4], 0x25
call fcn.004beab0
lea ecx, [edi + 4]
mov dword [esp + 0x1d4], ebx
call fcn.004beab0
add edi, 0x1c
cmp edi, ebp
mov dword [esp + 0x14], edi
jne 0x41de25
mov edi, dword [esp + 0x20]
push edi
call fcn.004deb10
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c8
ret