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

Disassembly:
push 0xffffffffffffffff
push 0x4e8246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 5
push 0x50fcbc
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], esi
call fcn.004be240
xor ebx, ebx
push 9
push 0x50fc60
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c4], ebx
call fcn.004be240
push 5
push 0x50fc58
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c4], 1
call fcn.004be240
push 9
push 0x50fc4c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c4], 2
call fcn.004be240
push 6
push 0x50fcb4
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c4], 3
call fcn.004be240
push 0xf
push 0x50fca4
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c4], 4
call fcn.004be240
push 7
push 0x50fc9c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c4], 5
call fcn.004be240
push 5
push 0x50fc3c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c4], 6
call fcn.004be240
push 4
push 0x50f60c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c4], 7
call fcn.004be240
push ebx
push 4
push ecx
mov byte [esp + 0x1c8], 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50fb98
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 8
call fcn.004caf10
cmp ax, 4
jne 0x411323
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x41208e
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0xa
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50fb4c
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 8
call fcn.004caf10
lea ecx, [esp + 0x10]
call fcn.004be1a0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x1c8], 0xb
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jg 0x4113c3
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x41205f
lea ecx, [esp + 0x10]
call fcn.004be660
cmp ax, 7
jge 0x411403
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0xd
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50fc94
jmp 0x412066
push 4
lea ecx, [esp + 0x14]
call fcn.004be4c0
mov dl, al
push 5
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x1c], edx
call fcn.004be4c0
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
lea edx, [esp + 0x10]
push edx
push ecx
lea eax, [eax + eax*4]
mov ecx, esp
shl eax, 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], esp
push eax
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jle 0x412037
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jle 0x412037
xor ebp, ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.004be1d0
lea ecx, [esp + 0x24]
call fcn.004be4d0
movsx eax, bp
xor edi, edi
lea esi, [eax + eax*8]
shl esi, 2
cmp byte [esi + 0x50d204], bl
jl 0x4114d7
movsx eax, di
mov cl, byte [eax + esi + 0x50d204]
push ecx
lea ecx, [esp + 0x24]
call fcn.004be640
movsx dx, byte [esi + 0x50d204]
inc edi
cmp di, dx
jle 0x4114b5
lea eax, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jle 0x41156b
push 2
lea ecx, [esp + 0x14]
call fcn.004be4c0
cmp al, 9
je 0x411515
inc ebp
cmp bp, 0xf1
jl 0x41148c
lea eax, [esp + 0x10]
cmp bp, 0xf1
push eax
push ecx
mov ecx, esp
jne 0x411595
lea edx, [esp + 0x2c]
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50fc94
jmp 0x412066
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0xf
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x41205f
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jg 0x4115da
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x11
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x41205f
push 2
lea ecx, [esp + 0x14]
call fcn.004be4c0
cmp al, 0xa
je 0x411636
lea eax, [esp + 0x10]
lea edx, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jg 0x411636
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x12
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x41205f
lea ecx, [esp + 0x3c]
call fcn.004be1a0
push ecx
mov byte [esp + 0x1c0], 0x13
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50fc8c
call fcn.004be240
lea eax, [esp + 0x54]
push eax
call fcn.004cfca0
add esp, 8
mov byte [esp + 0x1bc], 0x14
xor ebp, ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.004be1d0
lea ecx, [esp + 0x20]
call fcn.004be4d0
movsx eax, bp
xor edi, edi
lea esi, [eax*8]
sub esi, eax
shl esi, 2
cmp byte [esi + 0x50f3e8], bl
jl 0x4116c2
movsx ecx, di
mov dl, byte [ecx + esi + 0x50f3e8]
lea ecx, [esp + 0x1c]
push edx
call fcn.004be640
movsx ax, byte [esi + 0x50f3e8]
inc edi
cmp di, ax
jle 0x4116a0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jle 0x41172a
lea ecx, [esp + 0x10]
call fcn.004be660
cmp ax, 0x14
jl 0x41171a
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be1b0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00412150
mov esi, eax
cmp esi, 0xffffffff
jne 0x411772
inc ebp
cmp bp, 0x10
jl 0x411671
jmp 0x411871
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x15
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 0x14
call fcn.004caf10
jmp 0x411e46
movsx eax, bp
mov ebp, 6
lea edx, [eax*8]
sub edx, eax
lea edi, [edx*4 + 0x50f3e8]
mov al, byte [edi]
lea ecx, [esp + 0x3c]
push eax
call fcn.004be640
inc edi
dec ebp
jne 0x41178a
push esi
lea ecx, [esp + 0xa8]
push 0x50f930
push ecx
call fcn.004de8d6
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x4f73d0]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
cmp edx, esi
ja 0x4117d8
call fcn.004de1ab
cmp esi, ebx
jbe 0x41181f
mov eax, dword [esp + 0x58]
push ebx
lea ecx, [esp + 0x54]
lea ebp, [esi + eax]
push ebp
call fcn.004144a0
test al, al
je 0x41181f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0xa4]
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 + 0x54]
mov dword [esp + 0x58], ebp
mov byte [ecx + ebp], bl
push ebx
push 1
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x1e8], 0x16
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x1e4], 0x14
call fcn.004cae60
push ebx
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x17
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50fc84
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 0x14
call fcn.004caf10
cmp ax, 4
jne 0x4118c8
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411e46
mov cl, byte [esp + 0x47]
sub esp, 0x10
mov ebp, esp
mov edi, 0x520010
xor eax, eax
mov dword [esp + 0x24], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x411928
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x520010
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
add eax, ecx
mov byte [eax], bl
push ebx
lea ecx, [esp + 0x74]
call fcn.004ca360
mov byte [esp + 0x1bc], 0x18
push 0xf4240
lea eax, [esp + 0xb8]
push 0x50f930
push eax
call fcn.004de8d6
push ecx
mov cl, byte [esp + 0x57]
mov ebp, esp
lea edi, [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x24], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x4119b3
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0xc4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
add eax, ecx
mov byte [eax], bl
sub esp, 0x10
lea eax, [esp + 0x67]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push 0x50f8e4
mov byte [esp + 0x1e4], 0x19
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xab]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
push 0x50f9a8
mov byte [esp + 0x1f4], 0x1a
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xba]
mov ecx, esp
mov dword [esp + 0xe0], esp
push eax
push 0x520010
mov byte [esp + 0x204], 0x1b
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x20c], 0x1c
mov esi, esp
mov dword [esp + 0xc4], esp
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x21c], 0x1d
mov esi, esp
mov dword [esp + 0xa8], esp
push ecx
mov ecx, esp
mov dword [esp + 0xac], esp
push 6
push 0x50fc7c
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0xec]
mov byte [esp + 0x21c], 0x18
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov dx, word [eax]
mov edi, dword [0x4f73d0]
lea esi, [eax + 4]
mov word [esp + 0x60], dx
mov byte [esp + 0x1bc], 0x1e
mov eax, dword [esi + 8]
mov ebp, eax
cmp edi, ebp
jae 0x411abd
mov ebp, edi
lea ecx, [esp + 0x64]
cmp ecx, esi
jne 0x411b2e
cmp dword [esp + 0x6c], ebp
jae 0x411ad0
call fcn.004de3d7
lea ecx, [esp + 0x64]
call fcn.00415170
mov eax, dword [esp + 0x6c]
sub eax, ebp
cmp eax, edi
jae 0x411ae5
mov edi, eax
cmp edi, ebx
jbe 0x411b1e
mov edx, dword [esp + 0x68]
sub eax, edi
add ebp, edx
push eax
lea ecx, [edi + ebp]
push ecx
push ebp
call fcn.004dea60
mov esi, dword [esp + 0x78]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x64]
push ebx
push esi
call fcn.004144a0
test al, al
je 0x411b1e
push esi
lea ecx, [esp + 0x68]
call fcn.00414480
push ebx
push ebx
lea ecx, [esp + 0x6c]
call fcn.00414360
jmp 0x411bb6
cmp ebp, ebx
jbe 0x411b7b
cmp ebp, eax
jne 0x411b7b
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x411b42
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x411b7b
push 1
lea ecx, [esp + 0x68]
call fcn.00414090
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x411b5f
mov eax, 0x4f7480
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x70], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x411bb6
push 1
push ebp
lea ecx, [esp + 0x6c]
call fcn.004144a0
test al, al
je 0x411bb6
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x411b97
mov esi, 0x4f7480
mov edi, dword [esp + 0x68]
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 + 0x68]
mov dword [esp + 0x6c], ebp
mov byte [ecx + ebp], bl
mov eax, dword [esp + 0x94]
mov byte [esp + 0x1bc], 0x18
cmp eax, ebx
je 0x411be6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411bdd
cmp al, 0xff
je 0x411bdd
dec al
mov byte [ecx], al
jmp 0x411be6
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.004c48d0
cmp ax, 2
je 0x411f0f
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x60]
push edx
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x411c28
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb4]
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 + 0x80]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x411c74
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411c6b
cmp al, 0xff
je 0x411c6b
dec al
mov byte [ecx], al
jmp 0x411c74
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x80], ebx
push ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.004dea48
add esp, 4
lea ecx, [esp + 0x60]
mov edi, eax
call fcn.004c48d0
cmp ax, 1
jne 0x41193a
mov eax, edi
mov esi, 0xffff
cdq
and edx, 0xf
mov dword [esp + 0x4c], 8
add eax, edx
sar eax, 4
sub esi, eax
mov ebp, esi
sar ebp, 8
push esi
lea ecx, [esp + 0x40]
call fcn.004be640
push ebp
lea ecx, [esp + 0x40]
call fcn.004be640
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x4c], eax
jne 0x411ccd
mov eax, edi
dec esi
xor ebp, ebp
and eax, 0x8000000f
jns 0x411cfd
dec eax
or eax, 0xfffffff0
inc eax
cdq
sub eax, edx
sar eax, 1
cmp eax, ebx
mov dword [esp + 0x4c], eax
jle 0x411d44
mov eax, esi
mov edi, 7
sar eax, 8
mov dword [esp + 0x18], eax
lea edx, [edi - 1]
push esi
push edx
lea ecx, [esp + 0x44]
call fcn.004be5e0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push edi
call fcn.004be5e0
mov eax, dword [esp + 0x4c]
inc ebp
movsx ecx, bp
add edi, 2
cmp ecx, eax
jl 0x411d18
push 0x16
push ebx
lea ecx, [esp + 0x44]
call fcn.004be5e0
push 0xc
push 2
lea ecx, [esp + 0x44]
call fcn.004be5e0
push 3
lea ecx, [esp + 0x40]
call fcn.004be640
lea edx, [esp + 0x10]
lea eax, [esp + 0x3c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jg 0x411dbc
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x1f
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x50f970
jmp 0x411dfe
lea ecx, [esp + 0x10]
call fcn.004be660
cmp ax, 8
jge 0x411e8d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x20
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x50fc74
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 0x18
call fcn.004caf10
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x411e3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411e31
cmp al, 0xff
je 0x411e31
dec al
mov byte [ecx], al
jmp 0x411e3a
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x411e6b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411e62
cmp al, 0xff
je 0x411e62
dec al
mov byte [ecx], al
jmp 0x411e6b
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1bc], 0xb
call fcn.004be2e0
jmp 0x41207d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
lea eax, [esp + 0x10]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0x21
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x50fb44
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 0x18
call fcn.004caf10
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x411f34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411f2b
cmp al, 0xff
je 0x411f2b
dec al
mov byte [ecx], al
jmp 0x411f34
push ecx
call fcn.004de1a0
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], ebx
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
je 0x411f65
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411f5c
cmp al, 0xff
je 0x411f5c
dec al
mov byte [ecx], al
jmp 0x411f65
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1bc], 0xb
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1bc], 8
call fcn.004be2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1bc], 7
call fcn.004be2e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 6
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 5
call fcn.004be2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 4
call fcn.004be2e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1bc], 3
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1bc], 2
call fcn.004be2e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1bc], 1
call fcn.004be2e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], bl
call fcn.004be2e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x1bc], 0xffffffff
call fcn.004be2e0
mov ax, 1
jmp 0x41212d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x1cc], 0xe
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x1cc], 0xb
call fcn.004caf10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1bc], 8
call fcn.004be2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1bc], 7
call fcn.004be2e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 6
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 5
call fcn.004be2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1bc], 4
call fcn.004be2e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1bc], 3
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1bc], 2
call fcn.004be2e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1bc], 1
call fcn.004be2e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1bc], bl
call fcn.004be2e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x1bc], 0xffffffff
call fcn.004be2e0
or ax, 0xffff
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b0
ret