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

Disassembly:
push 0xffffffffffffffff
push 0x4dc748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x98]
push eax
mov dword [esp + 0x8c], ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.CStringCharFromWChar.0
call fcn.004a4950
add esp, 4
mov dword [esp + 0x88], 1
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x47ce9d
mov eax, dword [eax]
mov ebp, eax
cmp eax, ebx
jne 0x47cea2
mov ebp, 0x50ed83
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x88], 3
cmp esi, ebx
je 0x47cf77
cmp word [esi], bx
je 0x47cf77
mov ebx, esi
lea eax, [esp + 0x74]
call fcn.00414350
mov dword [esp + 0x94], eax
test eax, eax
je 0x47cf68
cmp word [eax], 0
je 0x47cf0e
cmp word [eax], 0x2f
jne 0x47cf05
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x47cef7
xor ebx, ebx
mov edx, dword [esp + 0x90]
push ebp
push 2
push ebx
push edx
call fcn.004b68f0
add esp, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x47d3a0
xor ebp, ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [edi + 8], ebx
mov eax, dword [edi]
setne byte [esp + 0x17]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x47d357
mov esi, eax
jmp 0x47cf82
mov dword [esp + 0x18], 2
xor ebx, ebx
jmp 0x47d3f2
mov dword [esp + 0x94], ebx
jmp 0x47cf10
xor ebx, ebx
cmp ebp, ebx
je 0x47cf8f
push ebp
call fcn.004ca991
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
cmp eax, ebx
je 0x47cfac
push eax
call fcn.004ca991
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x48]
call fcn.00414dc0
test eax, eax
je 0x47cfd4
mov ebx, eax
push esi
lea eax, [esp + 0x3c]
call fcn.00414dc0
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x47d31d
cmp word [ebp], 0
je 0x47d324
mov eax, ebp
lea ecx, [ecx]
cmp word [eax], 0x2f
jne 0x47cffe
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x47cff0
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d010
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 2], 0x5c
push 0x820
sete bl
xor edx, edx
test bl, bl
setne dl
mov esi, 0x410
push 0
mov byte [esp + 0x1e], bl
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], esi
add edx, 2
mov dword [esp + 0x20], edx
call fcn.004caea7
add esp, 8
test eax, eax
jne 0x47d071
push eax
call fcn.004ca991
add esp, 4
xor edi, edi
xor esi, esi
mov dword [esp + 0x50], esi
jmp 0x47d080
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x58], 0
mov word [eax], cx
mov dword [esp + 0x54], edi
mov byte [esp + 0x88], 6
test edi, edi
je 0x47d2e7
push 0
push edi
shr esi, 1
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x47d2e7
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d0b0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 2], 0x5c
jne 0x47d0ce
xor edx, edx
mov word [ebp + eax*2 - 2], dx
push 0x5c
push ebp
call fcn.004cb9fc
add esp, 8
test eax, eax
je 0x47d11f
lea ebx, [eax + 2]
lea eax, [esp + 0x5c]
call fcn.00414350
lea edi, [esp + 0x5c]
lea esi, [esp + 0x44]
call fcn.00414130
cmp dword [esp + 0x18], 3
jne 0x47d113
push 1
push 0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x5c
call fcn.004148c0
mov edi, dword [esp + 0x54]
mov bl, byte [esp + 0x16]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47d202
cmp word [eax], 0
je 0x47d202
mov esi, dword [esp + 0x94]
test esi, esi
je 0x47d196
cmp word [esi], 0
je 0x47d196
mov eax, esi
lea edx, [eax + 2]
jmp 0x47d150
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d150
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x47d181
push 1
push 1
lea edx, [esp + 0x30]
push edx
lea esi, [esp + 0x44]
mov dword [esp + 0x34], 0x5c
call fcn.004148c0
mov eax, dword [esp + 0x94]
push 1
push 1
push eax
lea esi, [esp + 0x44]
call fcn.004148c0
cmp dword [esp + 0x18], 2
jne 0x47d27a
mov eax, dword [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x47d1b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d1b0
mov ecx, dword [esp + 0x3c]
sub eax, edx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x47d1d8
lea eax, [esp + 0x44]
lea ecx, [esp + 0x38]
call fcn.004144e0
cmp byte [esp + 0x17], 0
je 0x47d2b1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edx
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0047d4a0
add esp, 0x10
mov esi, eax
jmp 0x47d2ec
cmp dword [esp + 0x18], 2
jne 0x47d21e
lea edi, [esp + 0x44]
lea esi, [esp + 0x38]
call fcn.00414130
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x47d27a
cmp word [esi], 0
je 0x47d27a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d234
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x47d265
push 1
push 1
lea ecx, [esp + 0x34]
push ecx
lea esi, [esp + 0x44]
mov dword [esp + 0x38], 0x5c
call fcn.004148c0
mov edx, dword [esp + 0x94]
push 1
push 1
push edx
lea esi, [esp + 0x44]
call fcn.004148c0
cmp dword [esp + 0x18], 3
jne 0x47d1d8
cmp byte [esp + 0x9c], 0
je 0x47d2d1
test bl, bl
jne 0x47d2b1
push 1
push 0
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x5c]
mov dword [esp + 0x3c], 0x5c
call fcn.004148c0
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edx
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0047d4a0
add esp, 0x10
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x47d2f0
test bl, bl
je 0x47d2b1
lea eax, [esp + 0x50]
call fcn.00414e80
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
jmp 0x47d2b1
mov esi, 2
mov dword [esp + 0x18], esi
test edi, edi
je 0x47d315
mov edx, dword [esp + 0x50]
push edx
push 0
push edi
call fcn.004d2f90
add esp, 0xc
push edi
call fcn.004ca991
add esp, 4
mov dword [esp + 0x54], 0
test esi, esi
jne 0x47d32c
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x47cf80
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x47d355
mov eax, dword [esp + 0x38]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov dword [esp + 0x3c], 0
xor ebx, ebx
mov byte [esp + 0x88], 3
cmp ebp, ebx
je 0x47d37f
mov ecx, dword [esp + 0x44]
push ecx
push ebx
push ebp
call fcn.004d2f90
add esp, 0xc
push ebp
call fcn.004ca991
add esp, 4
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
cmp eax, 1
sete cl
cmp cl, bl
je 0x47d3c2
cmp eax, 1
je 0x47d3aa
mov dword [0x51c03c], 0x80000
jmp 0x47d3f2
mov dword [esp + 0x18], 2
jmp 0x47d3f2
mov esi, dword [edi + 4]
call fcn.004ab5c0
mov dword [0x51c03c], eax
cmp esi, ebx
je 0x47d3e9
call fcn.004ab6d0
jmp 0x47d3e9
cmp eax, 2
je 0x47d3d3
mov dword [0x51c07c], 0x80000
jmp 0x47d3f2
mov esi, dword [edi + 4]
call fcn.004b5820
mov dword [0x51c07c], eax
cmp esi, ebx
je 0x47d3e9
call fcn.004b69a0
push edi
call fcn.004cb3e6
add esp, 4
mov esi, dword [esp + 0x78]
cmp esi, ebx
je 0x47d416
mov edx, dword [esp + 0x74]
push edx
push ebx
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov dword [esp + 0x78], ebx
mov esi, dword [esp + 0x60]
cmp esi, ebx
je 0x47d43a
mov eax, dword [esp + 0x5c]
push eax
push ebx
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x68], vtable.CKuStringT_char__class_CKuStringUtilA_.0
cmp ecx, ebx
je 0x47d47b
mov eax, dword [ecx + 0x10]
dec eax
mov dword [ecx + 0x10], eax
jne 0x47d47b
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47d472
push eax
call fcn.004ca991
add esp, 4
push esi
call fcn.004cb3e6
add esp, 4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret