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

Disassembly:
push 0xffffffffffffffff
push 0x4e945a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004be1a0
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], ebx
call fcn.004be1a0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x520010
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 + 0x178], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x520010
mov ecx, edx
call fcn.004142c0
push ebx
lea ecx, [esp + 0x34]
call fcn.004ca360
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x168], 2
stosb byte es:[edi], al
push 0xffff
lea ecx, [esp + 0x64]
push 0x50f930
push ecx
call fcn.004de8d6
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0x70]
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 + 0x74]
push ecx
mov ecx, edx
call fcn.004142c0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
push 0x50f8e4
mov byte [esp + 0x190], 3
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x73]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
push 0x50f9a8
mov byte [esp + 0x1a0], 4
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x82]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
push 0x520010
mov byte [esp + 0x1b0], 5
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x1b8], 6
mov esi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x510064
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x1c8], 7
mov esi, esp
mov dword [esp + 0x78], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x50fa34
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea eax, [esp + 0xa4]
mov byte [esp + 0x1c8], 2
push eax
mov ecx, 0x5200a8
call fcn.004cb120
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x24], cx
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 8
call fcn.00413e90
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x168], 2
cmp eax, ebx
je 0x4210e2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4210d9
cmp al, 0xff
je 0x4210d9
dec al
mov byte [ecx], al
jmp 0x4210e2
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004c48d0
cmp ax, 2
je 0x421111
lea ecx, [esp + 0x20]
call fcn.004c48d0
cmp ax, 1
je 0x421162
jmp 0x420f6e
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x421136
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42112d
cmp al, 0xff
je 0x42112d
dec al
mov byte [ecx], al
jmp 0x421136
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], bl
call fcn.004be2e0
mov dword [esp + 0x168], 0xffffffff
jmp 0x42143b
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x42117c
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
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 + 0x48]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4211c2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4211b9
cmp al, 0xff
je 0x4211b9
dec al
mov byte [ecx], al
jmp 0x4211c2
push ecx
call fcn.004de1a0
add esp, 4
or esi, 0xffffffff
lea edi, [esp + 0x60]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
jne 0x421211
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x178], 9
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x51005c
jmp 0x4213b4
lea ecx, [esp + 0x60]
push ecx
call fcn.004dea48
add esp, 4
lea edx, [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x3c], eax
push edx
push 0x50fde4
call fcn.0041b6a0
test ax, ax
jg 0x421269
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x178], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f970
jmp 0x4213b4
push 2
lea ecx, [esp + 0x18]
call fcn.004be4c0
cmp al, 0x67
je 0x4212e6
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x178], 0xb
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fa24
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x178], 2
call fcn.004caf10
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x421418
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42140f
cmp al, 0xff
je 0x42140f
dec al
mov byte [ecx], al
jmp 0x421418
push 5
lea ecx, [esp + 0x18]
call fcn.004be4c0
mov dl, al
push 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], dl
call fcn.004be4c0
xor edx, edx
push 6
mov dh, al
mov al, byte [esp + 0x17]
mov dl, al
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x3c], edx
call fcn.004be4c0
mov edx, dword [esp + 0x38]
and eax, 0xff
or edx, eax
push 7
shl edx, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edx
call fcn.004be4c0
mov ecx, dword [esp + 0x38]
and eax, 0xff
or ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
push 0x50fdf8
mov edx, eax
mov ecx, eax
sar edx, 0x18
mov byte [0x50fdf1], dl
mov edx, eax
sar ecx, 0x10
mov byte [0x50fdf2], cl
push 0x50fdec
sar edx, 8
mov ecx, ebp
mov byte [0x50fdf3], dl
mov byte [0x50fdf9], al
call fcn.0041e450
push ebx
push 1
push ecx
test ax, ax
mov ecx, esp
jg 0x4213e7
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x178], 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fa24
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x178], 2
call fcn.004caf10
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x421418
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42140f
cmp al, 0xff
je 0x42140f
dec al
mov byte [ecx], al
jmp 0x421418
mov dword [esp + 0x24], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x178], 0xd
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fa1c
jmp 0x4213b4
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x168], bl
call fcn.004be2e0
mov dword [esp + 0x168], esi
lea ecx, [esp + 0x1c]
call fcn.004be2e0
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret