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

Disassembly:
sub esp, 0x6c
call fcn.00415fa0
add eax, 0x7162
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bf0
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x404c05
xor eax, eax
add esp, 0x6c
ret
mov dword [esp + 0x18], 8
call fcn.00415fa0
add eax, 0x7162
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c20
push ebx
push ebp
sub eax, edx
push esi
mov ebx, eax
lea eax, [ebx + 1]
push edi
push eax
call fcn.00436216
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x404f47
call fcn.00415fa0
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [eax + 0x7162]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push str.hangame:__
rep movsb byte es:[edi], byte [esi]
push ebp
mov byte [ebx + ebp], 0
call fcn.00436190
add esp, 8
test eax, eax
je 0x404f3e
mov ecx, str.hangame:__
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404c88
sub ecx, esi
add ecx, eax
push str.metp:__
push ecx
call fcn.00436190
add esp, 8
test eax, eax
je 0x404f3e
mov ecx, str.metp:__
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404cb1
sub ecx, esi
lea esi, [ecx + eax]
push 0x3a
push esi
call fcn.004360d0
add esp, 8
test eax, eax
je 0x404f3e
mov edi, 0x4536a8
mov byte [eax], 0
mov ecx, esi
sub edi, esi
lea esp, [esp]
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x404ce0
lea edi, [eax + 1]
push 0x3b
push edi
call fcn.004360d0
mov esi, eax
add esp, 8
test esi, esi
je 0x404f3e
push 0x2f
push edi
mov byte [esi], 0
call fcn.004360d0
add esp, 8
test eax, eax
je 0x404d17
mov byte [eax], 0
mov edx, 0x4536bc
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404d20
inc esi
push 0x44663c
push esi
call fcn.00436190
push str.k111e
push esi
mov edi, eax
call fcn.00436190
push 0x446630
push esi
mov ebx, eax
call fcn.00436190
push str.k89e
push esi
mov ebp, eax
call fcn.00436190
push str.regdir
push esi
mov dword [esp + 0x4c], eax
call fcn.00436190
push str.regkey
push esi
mov dword [esp + 0x44], eax
call fcn.00436190
push str.regfile
push esi
mov dword [esp + 0x54], eax
call fcn.00436190
push str.rurl
push esi
mov dword [esp + 0x58], eax
call fcn.00436190
add esp, 0x40
push str.auth
push esi
mov dword [esp + 0x28], eax
call fcn.00436190
add esp, 8
test edi, edi
je 0x404f3a
test ebp, ebp
je 0x404f3a
test ebx, ebx
je 0x404f3a
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x404f3a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x404f3a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x404f3a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x404f3a
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x404f3a
xor ebp, ebp
cmp eax, ebp
mov ebx, 9
jne 0x404e11
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
mov dword [esp + 0x2c], 0x44663c
mov dword [esp + 0x30], str.k111e
mov dword [esp + 0x34], 0x446630
mov dword [esp + 0x38], str.k89e
mov dword [esp + 0x3c], str.regdir
mov dword [esp + 0x40], str.regkey
mov dword [esp + 0x44], str.regfile
mov dword [esp + 0x48], str.rurl
mov dword [esp + 0x4c], str.auth
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 0x4536c6
mov dword [esp + 0x58], 0x4536e6
mov dword [esp + 0x5c], 0x4536d1
mov dword [esp + 0x60], 0x454091
mov dword [esp + 0x64], 0x45370e
mov dword [esp + 0x68], 0x45380e
mov dword [esp + 0x6c], 0x453841
mov dword [esp + 0x70], 0x453874
mov dword [esp + 0x74], 0x454075
mov dword [esp + 0x78], ebp
jle 0x404f10
lea ecx, [ecx]
mov eax, dword [esp + ebp*4 + 0x2c]
push eax
push esi
call fcn.00436190
add esp, 8
test eax, eax
je 0x404f3a
push 0x3a
push eax
call fcn.004360d0
mov edi, eax
inc edi
push 0x3d
push edi
call fcn.004360d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x404f3a
push edi
mov byte [esi], 0
call fcn.004360b1
mov edx, dword [esp + ebp*4 + 0x58]
add esp, 4
inc esi
mov ecx, eax
mov eax, esi
add esi, ecx
mov byte [esi], 0
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404f00
inc esi
inc ebp
cmp ebp, ebx
jl 0x404eb0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00436024
push 0x454196
push 0x454091
call fcn.00404af0
add esp, 0xc
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x6c
ret
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00436024
add esp, 4
push 0
push 0xae
push 0x40001
call fcn.0041a7d0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret