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

Disassembly:
push 0xffffffffffffffff
push 0x4e8780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
mov cx, word [0x50ffa4]
mov eax, dword [0x50ffa0]
mov dl, byte [0x50ffa6]
xor ebx, ebx
mov word [esp + 0x3c], cx
push 6
push 0x50ff98
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x40], eax
mov byte [esp + 0x46], dl
mov byte [esp + 0x38], 0x87
mov byte [esp + 0x39], 0x89
mov byte [esp + 0x3a], 0x91
mov byte [esp + 0x3b], 0xa3
mov byte [esp + 0x3c], 0xa5
mov byte [esp + 0x3d], 0x97
call fcn.004bea10
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.004be970
push 7
push 0x50ff90
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 2
call fcn.004bea10
push 7
push 0x50ff88
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 3
call fcn.004bea10
push 1
push 0x50ff84
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 4
call fcn.004bea10
mov al, byte [esp + 0x80]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], al
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x84], 6
call fcn.00476f90
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x48]
call fcn.00476d50
lea edx, [esp + 0x28]
lea ecx, [esp + 0x40]
push edx
push 1
push esi
mov dword [esp + 0x54], esi
call fcn.004126e0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.004126e0
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x48]
push edx
push 1
push eax
lea ecx, [esp + 0x4c]
call fcn.004126e0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, edi
call fcn.0041c3e0
test ax, ax
jne 0x414844
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, edi
mov byte [esp + 0x78], 5
je 0x4147b6
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x4147a3
mov esi, dword [esp + 0x44]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x78], 4
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 3
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 2
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.004beab0
push 1
lea ecx, [esp + 0x88]
mov dword [esp + 0x7c], 7
call fcn.00411e90
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.004beab0
or ax, 0xffff
jmp 0x414d99
lea ecx, [esp + 0x10]
call fcn.004bee30
cmp ax, 0x2f
jle 0x4148b3
push 0x2a
lea ecx, [esp + 0x14]
call fcn.004bec90
push 0x2b
lea ecx, [esp + 0x14]
mov byte [0x50fdfa], al
call fcn.004bec90
push 0x2c
lea ecx, [esp + 0x14]
mov byte [0x50fdfb], al
call fcn.004bec90
push 0x2d
lea ecx, [esp + 0x14]
mov byte [0x50fdfc], al
call fcn.004bec90
push 0x2e
lea ecx, [esp + 0x14]
mov byte [0x50fdfd], al
call fcn.004bec90
push 0x2f
lea ecx, [esp + 0x14]
mov byte [0x50fdfe], al
call fcn.004bec90
mov byte [0x50fdff], al
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 0xfe
push edx
mov cl, byte [esp + eax + 0x38]
lea eax, [esp + 0x40]
mov byte [esp + 0x45], cl
push eax
mov ecx, edi
call fcn.00419700
test ax, ax
jle 0x414c92
mov cl, byte [esp + 0x14]
add cl, 0xb
push ecx
push 5
lea ecx, [esp + 0x20]
call fcn.004bedb0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004be980
lea ecx, [esp + 0x84]
call fcn.004beca0
mov edi, 0x520168
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x88]
push ebp
call fcn.00412290
test al, al
je 0x41495f
mov edi, dword [esp + 0x88]
mov ecx, ebp
mov eax, ecx
mov esi, 0x520168
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x88]
call fcn.00412270
mov eax, dword [esp + 0x14]
cmp eax, 5
ja case.default.0x41496c
jmp dword [eax*4 + 0x414db0]
xor edi, edi
lea ecx, [edi + 5]
push ecx
lea ecx, [esp + 0x14]
call fcn.004bec90
mov edx, dword [0x4f73d0]
mov ecx, dword [esp + 0x8c]
sub edx, ecx
mov bl, al
cmp edx, 1
ja 0x41499d
call fcn.004deb1b
mov eax, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x88]
lea esi, [eax + 1]
push esi
call fcn.00412290
test al, al
je 0x4149df
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
push esi
lea eax, [edx + ecx]
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
lea ecx, [esp + 0x88]
call fcn.00412270
inc edi
cmp edi, 0xb
jl 0x414975
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x88]
push 0
push ecx
lea ecx, [edx + 0x34]
call fcn.00411c90
jmp 0x414c72
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.004bec90
mov ecx, dword [0x4f73d0]
mov edx, dword [esp + 0x8c]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x414a30
call fcn.004deb1b
mov edx, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x88]
lea esi, [edx + 1]
push esi
call fcn.00412290
test al, al
je 0x414a71
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x88]
mov byte [eax], dl
call fcn.00412270
inc edi
cmp edi, 4
jl 0x414a08
jmp 0x414c72
xor edi, edi
lea edx, [edi + 5]
lea ecx, [esp + 0x10]
push edx
call fcn.004bec90
mov edx, dword [esp + 0x8c]
mov bl, al
mov eax, dword [0x4f73d0]
sub eax, edx
cmp eax, 1
ja 0x414aa5
call fcn.004deb1b
mov ecx, dword [esp + 0x8c]
push 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x88]
push esi
call fcn.00412290
test al, al
je 0x414ae6
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
movsx ecx, bl
add eax, edx
mov ch, cl
push esi
mov byte [eax], cl
lea ecx, [esp + 0x88]
call fcn.00412270
inc edi
cmp edi, 0xb
jl 0x414a7e
jmp 0x414c72
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.004bec90
mov ecx, dword [0x4f73d0]
mov edx, dword [esp + 0x8c]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x414b1b
call fcn.004deb1b
mov edx, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x88]
lea esi, [edx + 1]
push esi
call fcn.00412290
test al, al
je 0x414b5c
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x88]
mov byte [eax], dl
call fcn.00412270
inc edi
cmp edi, 3
jl 0x414af3
jmp 0x414c72
push 9
lea ecx, [esp + 0x14]
call fcn.004bec90
mov dl, al
push 0xa
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x30], edx
call fcn.004bec90
mov edx, dword [esp + 0x2c]
and eax, 0xff
add edx, eax
lea eax, [esp + 0x50]
push edx
push 0x50f938
push eax
call fcn.004df246
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x88]
push ebp
call fcn.00412290
test al, al
je case.default.0x41496c
mov edi, dword [esp + 0x88]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x50]
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 [esp + 0x88]
mov dword [esp + 0x8c], ebp
mov byte [eax + ebp], 0
jmp case.default.0x41496c
xor edi, edi
lea ecx, [edi + 5]
push ecx
lea ecx, [esp + 0x14]
call fcn.004bec90
mov edx, dword [0x4f73d0]
mov ecx, dword [esp + 0x8c]
sub edx, ecx
mov bl, al
cmp edx, 1
ja 0x414c2a
call fcn.004deb1b
mov eax, dword [esp + 0x8c]
push 0
lea ecx, [esp + 0x88]
lea esi, [eax + 1]
push esi
call fcn.00412290
test al, al
je 0x414c6c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
push esi
lea eax, [edx + ecx]
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
lea ecx, [esp + 0x88]
call fcn.00412270
inc edi
cmp edi, 0xd
jl 0x414c02
xor ebx, ebx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x80]
push edx
push 1
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.004123d0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 6
mov dword [esp + 0x14], eax
jl 0x4148b7
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x414caf
xor ebp, ebp
jmp 0x414cc7
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, edi
mov byte [esp + 0x78], 5
je 0x414cea
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x414cd8
mov esi, dword [esp + 0x44]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x78], 4
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 3
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 2
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.004beab0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x78], 0xffffffff
cmp eax, ebx
je 0x414d75
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x414d6c
cmp al, 0xff
je 0x414d6c
dec al
mov byte [ecx], al
jmp 0x414d75
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.004beab0
mov ax, bp
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0x14