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

Disassembly:
push ebp
push edi
mov ebp, 1
push esi
push ebx
sub esp, 0x9c
mov esi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
test esi, esi
je 0x476f32
test ebx, ebx
je 0x477130
mov edi, dword [esp + 0xbc]
mov dword [ebx], 0
shr edi, 6
and edi, 1
cmp eax, 0xa
ja case.default.0x476eec
jmp dword [eax*4 + 0x5eb8c4]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x477170
mov eax, dword [esi]
test eax, eax
je 0x476f1c
mov dword [esp], eax
call fcn.00462810
test eax, eax
je 0x476f1c
mov ecx, dword [esi + 0x2c]
cmp dword [eax + 0x3c], ecx
je 0x4771bc
mov eax, dword [sub.msvcrt.dll__strdup_1]
mov dword [esp], edi
call eax
test eax, eax
mov dword [ebx], eax
je 0x4770f2
xor ebp, ebp
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x24]
mov ebp, 0x11
xor esi, esi
lea esi, [esi]
test eax, eax
je 0x476f32
mov dword [esp], eax
call dword [0x536384]
test eax, eax
mov dword [ebx], eax
je 0x4770f2
mov ecx, esi
test cl, cl
je 0x476f87
movzx edx, byte [eax]
test dl, dl
je 0x476f87
cmp dl, 0x2b
je 0x477113
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x476f74
mov eax, edi
xor ebp, ebp
test al, al
je 0x476f32
lea eax, [esp + 0x88]
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00466940
mov esi, eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [0x53638c]
test esi, esi
jne 0x477142
mov eax, dword [esp + 0x84]
mov dword [ebx], eax
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ebp, 9
xor esi, esi
jmp 0x476f50
mov eax, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
test eax, eax
je 0x477152
mov dword [esp + 4], eax
mov dword [esp], 0x5eb80a
call fcn.0046c3b0
test eax, eax
je 0x4771e0
mov eax, dword [esi + 0x24]
mov edx, str.__:__
test eax, eax
je 0x477527
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x1c]
mov dword [esp], 0x5eb888
mov dword [esp + 4], eax
call fcn.00468fa0
mov esi, eax
test esi, esi
je 0x4770f2
mov dword [ebx], esi
xor ebp, ebp
jmp 0x476f32
mov eax, dword [esi]
xor edi, edi
xor esi, esi
mov ebp, 0xa
jmp 0x476f50
mov eax, dword [esi + 4]
mov ebp, 0xb
xor esi, esi
jmp 0x476f50
mov eax, dword [esi + 8]
mov ebp, 0xc
xor esi, esi
jmp 0x476f50
mov eax, dword [esi + 0xc]
mov ebp, 0xd
xor esi, esi
jmp 0x476f50
mov eax, dword [esi + 0x10]
mov ebp, 0xe
xor esi, esi
jmp 0x476f50
mov eax, dword [esi + 0x1c]
mov edx, dword [sub.msvcrt.dll__strdup_1]
test eax, eax
jne 0x4770e3
mov dword [esp], 0x5eb880
call edx
test eax, eax
mov dword [esi + 0x1c], eax
je 0x4770f2
mov edx, dword [sub.msvcrt.dll__strdup_1]
mov dword [esp], eax
call edx
test eax, eax
mov dword [ebx], eax
jne 0x476f87
add esp, 0x9c
mov ebp, 7
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x20]
mov ebp, 0x10
mov esi, edi
jmp 0x476f50
mov byte [eax], 0x20
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x476f74
jmp 0x476f87
add esp, 0x9c
mov ebp, 2
pop ebx
mov eax, ebp
pop esi
pop edi
pop ebp
ret
mov dword [ebx], 0
mov ebp, 6
jmp 0x476f32
mov edx, dword [esi + 0x10]
test edx, edx
jne 0x477428
mov ebp, 0xe
jmp 0x476f32
test byte [esp + 0xbc], 1
je 0x4771d0
mov eax, dword [esi]
test eax, eax
je 0x4771d0
mov dword [esp], eax
call fcn.00462810
test eax, eax
je 0x4771d0
mov eax, dword [eax + 0x3c]
lea edi, [esp + 0x88]
mov dword [esp + 8], 0x5eb877
mov dword [esp + 4], 7
mov dword [esp], edi
mov dword [esp + 0xc], eax
call fcn.004672f0
mov eax, dword [sub.msvcrt.dll__strdup_1]
jmp 0x476f21
test byte [esp + 0xbc], 2
je 0x476f1c
lea esi, [esi]
mov ebp, 0xf
jmp 0x476f32
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47715d
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x5c], eax
je 0x477428
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00462810
mov ecx, dword [esp + 0x54]
mov edi, eax
test ecx, ecx
je 0x4774e6
test edi, edi
je 0x477247
mov eax, dword [esi + 0x2c]
cmp dword [edi + 0x3c], eax
jne 0x477235
test byte [esp + 0xbc], 2
mov eax, 0
cmove eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
test byte [edi + 0x45], 4
mov eax, 0
cmovne eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
xor ebp, ebp
cmp byte [eax], 0x5b
je 0x4773a5
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x64], str.__:__
test ecx, ecx
je 0x477448
mov eax, dword [esi + 0x20]
test eax, eax
mov dword [esp + 0x60], eax
je 0x477390
cmp byte [eax], 0
je 0x477390
mov dword [esp + 0x70], 0x5eb87e
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x4774aa
cmp byte [edx], 0x2f
mov edi, 0x5eb87b
mov eax, 0x5eb880
cmove eax, edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], 0x5eb882
test eax, eax
je 0x477495
test ebp, ebp
mov dword [esp + 0x6c], ebp
je 0x477489
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
test eax, eax
je 0x477456
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4774bc
test edi, edi
mov dword [esp + 0x7c], 0x5eb886
mov esi, 0x5eb882
je 0x477540
mov dword [esp + 0x78], 0x5eb884
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov dword [esp], str._s:___s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
call fcn.00468fa0
mov dword [esp], ebp
mov esi, eax
call dword [0x53638c]
jmp 0x47705e
mov dword [esp + 0x60], 0x5eb87b
mov dword [esp + 0x70], 0x5eb87b
jmp 0x477288
mov ebp, dword [esi + 0x14]
test ebp, ebp
je 0x477255
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp], ebp
mov edi, eax
call sub.msvcrt.dll_strlen
lea eax, [edi + eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov ebp, eax
je 0x4770f2
mov eax, dword [esi + 0x10]
lea edx, [edi - 1]
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 0x64], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x64]
mov dword [esp + 8], str.__25_s_
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
sub eax, edi
lea eax, [eax + 1]
mov dword [esp + 4], eax
lea eax, [ebp + edx]
mov dword [esp], eax
call fcn.004672f0
jmp 0x477255
test byte [esp + 0xbc], 4
mov dword [esp + 0x5c], str.https
mov ebp, 0xa
jne 0x4771f9
jmp 0x476f32
mov ecx, 0x5eb87b
mov dword [esp + 0x64], ecx
jmp 0x477268
test edi, edi
je 0x477554
mov eax, dword [esp + 0x58]
test eax, eax
je 0x477578
mov dword [esp + 0x78], 0x5eb884
mov dword [esp + 0x7c], 0x5eb886
mov esi, 0x5eb882
mov eax, 0x5eb87b
jmp 0x4772fe
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
jmp 0x4772c7
mov dword [esp + 0x54], 0x5eb87b
mov dword [esp + 0x68], 0x5eb87b
jmp 0x4772bb
mov edx, 0x5eb880
mov dword [esp + 0x74], 0x5eb87b
jmp 0x4772a7
test edi, edi
je 0x47759f
mov dword [esp + 0x7c], 0x5eb87b
mov dword [esp + 0x78], 0x5eb884
mov esi, 0x5eb882
mov dword [esp + 0x58], 0x5eb87b
jmp 0x4772fe
test byte [esp + 0xbc], 1
je 0x477533
test edi, edi
je 0x477247
mov eax, dword [edi + 0x3c]
lea ebp, [esp + 0x88]
mov dword [esp + 8], 0x5eb877
mov dword [esp + 4], 7
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call fcn.004672f0
mov dword [esp + 0x54], ebp
jmp 0x477235
mov eax, 0x5eb87b
mov edx, eax
jmp 0x477041
test edi, edi
jne 0x477235
jmp 0x477247
mov edi, 0x5eb87b
mov dword [esp + 0x78], 0x5eb884
mov esi, edi
jmp 0x4772fe
mov edi, dword [esp + 0x58]
mov dword [esp + 0x78], 0x5eb884
mov dword [esp + 0x7c], 0x5eb886
test edi, edi
je 0x4775bb
mov edi, 0x5eb87b
mov esi, edi
jmp 0x47747f
mov dword [esp + 0x7c], 0x5eb87b
mov dword [esp + 0x78], 0x5eb884
mov esi, 0x5eb882
mov dword [esp + 0x58], 0x5eb87b
mov eax, 0x5eb87b
jmp 0x4772fe
mov edi, 0x5eb87b
mov dword [esp + 0x58], 0x5eb87b
mov dword [esp + 0x7c], 0x5eb87b
mov esi, edi
jmp 0x4772f6
mov dword [esp + 0x58], 0x5eb87b
mov dword [esp + 0x78], 0x5eb87b
mov dword [esp + 0x7c], 0x5eb87b
jmp 0x47756c
mov ebp, 9
jmp 0x476f32