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

Disassembly:
push 0xffffffffffffffff
push 0x4e93aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.004be970
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x178], ebx
call fcn.004be970
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x520168
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [esp + 0x188], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x520168
mov ecx, edx
call fcn.004120b0
push ebx
lea ecx, [esp + 0x38]
call fcn.004cabb0
mov byte [esp + 0x178], 2
push 0x7fffff
lea ecx, [esp + 0x74]
push 0x50f938
push ecx
call fcn.004df246
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0x80]
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, edx
call fcn.004120b0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
push 0x50f8ec
mov byte [esp + 0x1a0], 3
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x6a]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
push 0x50fa38
mov byte [esp + 0x1b0], 4
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x7b]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
push 0x520168
mov byte [esp + 0x1c0], 5
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x1c8], 6
mov esi, esp
mov dword [esp + 0x70], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x50fa64
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x1d8], 7
mov esi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x5100c4
call fcn.004bea10
push esi
call fcn.004d0560
add esp, 8
lea eax, [esp + 0xb8]
mov byte [esp + 0x1d8], 2
push eax
mov ecx, 0x520200
call fcn.004cb970
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x28], cx
push ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 8
call fcn.00411c90
mov eax, dword [esp + 0x60]
mov byte [esp + 0x178], 2
cmp eax, ebx
je 0x41e911
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41e908
cmp al, 0xff
je 0x41e908
dec al
mov byte [ecx], al
jmp 0x41e911
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004c4fe0
cmp ax, 2
je 0x41ea6d
lea eax, [esp + 0x40]
lea ecx, [esp + 0x24]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x41e94a
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x70]
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 + 0x44]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x41e990
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41e987
cmp al, 0xff
je 0x41e987
dec al
mov byte [ecx], al
jmp 0x41e990
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x44], ebx
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.004df3b8
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.004c4fe0
cmp ax, 1
jne 0x41e79a
mov eax, dword [esp + 0x3c]
push ebx
mov ecx, eax
push ebx
sar ecx, 8
push ecx
mov edx, eax
mov byte [0x50fe3f], cl
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
sar edx, 0x10
push 0x50f634
mov byte [0x50fe3e], dl
mov byte [0x50fe40], al
call fcn.004bea10
push ecx
mov byte [esp + 0x188], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50fa4c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x188], 2
call fcn.004cb760
call fcn.004cd4a0
test al, al
je 0x41ea98
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x188], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x5100bc
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x188], 2
call fcn.004cb760
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41ec35
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41ec2c
cmp al, 0xff
je 0x41ec2c
dec al
mov byte [ecx], al
jmp 0x41ec35
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x20]
test ax, ax
jge 0x41eb13
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x188], 0xb
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x188], 2
call fcn.004cb760
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41eb9a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41eb91
cmp al, 0xff
je 0x41eb91
dec al
mov byte [ecx], al
jmp 0x41eb9a
push 0x50fe3c
push 0x50fe30
push 0x50fe24
mov ecx, ebp
call fcn.0041bbd0
push ebx
push 1
push ecx
test ax, ax
mov ecx, esp
jg 0x41ebd3
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x188], 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x188], 2
call fcn.004cb760
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41eb9a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41eb91
cmp al, 0xff
je 0x41eb91
dec al
mov byte [ecx], al
jmp 0x41eb9a
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x178], bl
call fcn.004beab0
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], 0xffffffff
call fcn.004beab0
or ax, 0xffff
jmp 0x41ec69
mov dword [esp + 0x20], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x188], 0xd
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x5100bc
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x188], 2
call fcn.004cb760
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41ec35
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41ec2c
cmp al, 0xff
je 0x41ec2c
dec al
mov byte [ecx], al
jmp 0x41ec35
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x178], bl
call fcn.004beab0
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], 0xffffffff
call fcn.004beab0
mov ax, 1
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x16c
ret