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

Disassembly:
push 0xffffffffffffffff
push 0x55cb58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, ecx
mov bl, byte [esp + 0x6c]
mov esi, dword [esp + 0x74]
test bl, 1
je 0x46fec7
push esi
lea eax, [esp + 0x18]
push eax
call fcn.0046ed60
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x6c], 0
call fcn.00476180
add esp, 8
mov eax, dword [esp + 0x74]
mov eax, dword [eax - 8]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x64], 1
cmp eax, dword [ecx - 8]
jne 0x46fe76
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x78]
call fcn.0045f6c0
test eax, eax
je 0x46fe84
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.0046f730
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 0
cmp eax, 0xffffffff
je 0x46fea4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x46fea4
call fcn.0045ea90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x64], 0xffffffff
cmp eax, 0xffffffff
je 0x46fec7
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x46fec7
call fcn.0045ea90
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x20]
call fcn.00461160
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 2
call fcn.0046da80
push esi
mov byte [esp + 0x68], 3
call fcn.0046d490
add esp, 4
mov esi, eax
mov dword [esp + 0x74], esi
test bl, 0x10
je 0x46ff5f
push esi
mov ecx, ebp
call fcn.0046e970
test al, al
jne 0x46ff5f
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jne 0x46ff53
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call fcn.0046db00
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 4
call fcn.0046fac0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x46ff5f
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x46ff5f
call fcn.0045ea90
jmp 0x46ff5f
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.0046fa20
cmp esi, 1
jne 0x470053
test bl, 4
je 0x470053
cmp dword [esp + 0x20], 0
je 0x470053
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp dword [eax - 8], 0
jne 0x46ff93
mov eax, dword [0x5e9844]
mov dword [esp + 0x70], eax
jmp 0x46ffa7
mov dword [esp + 0x70], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x46ffa7
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x70]
cmp dword [eax - 8], 0
mov byte [esp + 0x64], 5
je 0x470038
lea ecx, [esp + 0x70]
call fcn.0045ef20
mov eax, dword [esp + 0x70]
cmp word [eax], 0x7e
jne 0x470038
add eax, 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00403311
lea ecx, [esp + 0x18]
mov bl, 6
push ecx
mov byte [esp + 0x68], bl
call fcn.0047b360
add esp, 4
push eax
lea ecx, [esp + 0x18]
call fcn.00403311
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 7
call fcn.0046fa20
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.00401017
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 5
call fcn.00401017
push 1
push 0
lea ecx, [esp + 0x24]
mov byte [ebp + 0x1c], 1
call fcn.0045fa40
mov eax, dword [esp + 0x70]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x470053
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x470053
call fcn.0045ea90
cmp dword [esp + 0x44], 0
jne 0x470080
mov eax, dword [esp + 0x50]
cmp dword [eax - 8], 0
jne 0x470080
cmp byte [esp + 0x58], 0
je 0x470080
mov ecx, dword [esp + 0x54]
cmp dword [ecx - 8], 0
jne 0x470080
cmp byte [esp + 0x59], 0
je 0x470141
mov edx, dword [ebp]
cmp dword [edx - 8], 0
jne 0x4700dd
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], 0
je 0x4700dd
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x40]
call fcn.0046db00
push eax
mov ecx, ebp
mov byte [esp + 0x68], 8
call fcn.0045f4a0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x4700ce
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4700ce
call fcn.0045ea90
cmp byte [ebp + 0x1c], 0
jne 0x4700dd
lea ecx, [esp + 0x3c]
call fcn.0046d4f0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.00461160
mov edi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 9
call fcn.0045edc0
xor esi, esi
test edi, edi
jbe 0x47011d
mov eax, dword [esp + 0x34]
push 1
lea ecx, [eax + esi*4]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.0045f9c0
inc esi
cmp esi, edi
jb 0x470104
mov edx, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x40]
call fcn.0046e970
test al, al
je 0x470133
mov byte [ebp + 0x1c], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 3
call fcn.0045f990
lea ecx, [ebp + 4]
call fcn.0045f940
mov eax, dword [esp + 0x20]
xor esi, esi
mov ebx, eax
test eax, eax
jbe 0x470207
mov edi, dword [esp + 0x6c]
and edi, 2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
cmp dword [eax - 8], 0
jne 0x470179
mov ecx, dword [0x5e9844]
mov dword [esp + 0x70], ecx
jmp 0x470189
mov dword [esp + 0x70], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x470189
inc ecx
mov dword [eax - 0xc], ecx
mov byte [esp + 0x64], 0xa
test edi, edi
je 0x4701cf
push str...
lea ecx, [esp + 0x74]
call fcn.0045f6d0
test eax, eax
je 0x4701de
push 0x5bf118
lea ecx, [esp + 0x74]
call fcn.0045f6d0
test eax, eax
jne 0x4701cf
mov eax, dword [ebp + 8]
test eax, eax
je 0x47036a
push 1
dec eax
push eax
lea ecx, [ebp + 4]
call fcn.0045fa40
jmp 0x4701de
push 1
lea edx, [esp + 0x74]
push edx
lea ecx, [ebp + 4]
call fcn.0045fec0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x4701fe
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4701fe
call fcn.0045ea90
inc esi
cmp esi, ebx
jb 0x470160
test byte [esp + 0x6c], 0x40
je 0x4702a2
mov ecx, dword [0x5e9844]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x74]
push edx
lea eax, [esp + 0x1c]
mov bl, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x6c], bl
call fcn.0046ed60
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x70], 0xd
call fcn.0046d680
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov byte [esp + 0x70], al
mov eax, dword [ecx]
mov byte [esp + 0x64], bl
cmp eax, 0xffffffff
je 0x470269
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x470269
call fcn.0045ea90
cmp byte [esp + 0x70], 0
je 0x470282
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [ebp + 0x1c], 0
call fcn.0046f730
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x4702a2
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4702a2
call fcn.0045ea90
mov bl, byte [esp + 0x6c]
test bl, 0x20
je 0x4702ed
cmp dword [esp + 0x74], 3
jne 0x4702ed
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0046ee10
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 0xe
call fcn.0046f730
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x4702ed
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4702ed
call fcn.0045ea90
test bl, 8
je 0x470333
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0046d9d0
add esp, 4
test al, al
jne 0x470333
mov ecx, ebp
call fcn.0045f820
lea ecx, [ebp + 0x14]
call fcn.0045f820
lea ecx, [ebp + 0x18]
call fcn.0045f820
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jbe 0x470333
mov edx, dword [ebp + 0xc]
lea ecx, [edx + esi*4]
call fcn.0045f820
inc esi
cmp esi, edi
jb 0x470323
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.00461af0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045f990
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.0046ed60
mov esi, dword [eax]
mov byte [esp + 0x64], 0xb
call fcn.00469590
test eax, eax
je 0x47039a
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.The_path__s_contains_too_many__..__
call eax
jmp 0x47039f
mov eax, str.The_path__s_contains_too_many__..__
push esi
push eax
call fcn.004773c0
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
add esp, 8
mov byte [esp + 0x64], 0xa
cmp eax, 0xffffffff
je 0x4703c9
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4703c9
call fcn.0045ea90
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x4703e9
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4703e9
call fcn.0045ea90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.00461af0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045f990
xor al, al
jmp 0x470354