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

Disassembly:
push 0xffffffffffffffff
push 0x4e72b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x60]
push ebx
push ebp
xor ebx, ebx
cmp word [eax], 0x2a
push esi
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
jne 0x47e62f
movsx bx, byte [eax]
add eax, 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x70]
push eax
call fcn.0043f2e0
mov ecx, dword [esp + 0x74]
push 1
push ecx
push 0x4ec53c
call fcn.004403f0
add esp, 0x10
test al, al
mov byte [esp + 0x13], al
je 0x47e667
add dword [esp + 0x70], 2
lea edx, [esp + 0x70]
push edx
call fcn.0043f2e0
add esp, 4
push 0x4ebd38
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
lea eax, [esi + 2]
push eax
call fcn.00445f00
mov ecx, esi
mov edx, ecx
mov ebp, eax
shr ecx, 2
mov esi, 0x4ebd38
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x74]
push 5
push eax
push str._case
mov dword [esp + 0x78], 0
mov byte [esp + 0x22], 0
call fcn.004403f0
add esp, 0x10
test al, al
je 0x47e6de
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x70]
add esi, 0xa
push ecx
mov dword [esp + 0x74], esi
call fcn.0043f2e0
add esp, 4
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x70]
xor edi, edi
cmp word [edx], di
jne 0x47e707
cmp ebp, edi
je 0x47ebe3
mov eax, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47ebe3
push 0x3d
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00449370
mov ebp, dword [esp + 0x38]
add esp, 0xc
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.004152c8
mov ecx, dword [esp + 0x18]
cmp word [ecx], di
jne 0x47e74d
add ecx, 0xfffffff8
push ecx
mov ecx, dword [0x51927c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47ebe3
mov eax, dword [esp + 0x70]
cmp word [eax], 0x3d
je 0x47e76e
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47ebe3
add eax, 2
mov esi, eax
add eax, 2
mov dword [esp + 0x70], eax
mov cx, word [eax]
cmp cx, di
je 0x47e797
cmp cx, 0x2c
je 0x47e7a1
add eax, 2
mov dword [esp + 0x70], eax
mov cx, word [eax]
cmp cx, di
jne 0x47e782
cmp word [eax], 0x2c
jne 0x47e948
mov word [eax], di
mov ecx, dword [esp + 0x70]
add ecx, 2
cmp bx, di
mov dword [esp + 0x70], ecx
jne 0x47e806
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], esi
call fcn.0043f2e0
mov ecx, dword [esp + 0x34]
add esp, 4
cmp word [ecx], di
je 0x47e7dc
mov ax, word [esi]
call fcn.0043f2c0
test al, al
je 0x47e7dc
mov esi, ecx
mov eax, dword [esp + 0x70]
add eax, 0xfffffffc
cmp eax, esi
jbe 0x47e806
mov cx, word [eax]
cmp cx, 9
jb 0x47e7f6
cmp cx, 0xd
jbe 0x47e7fc
cmp cx, 0x20
jne 0x47e806
mov word [eax], di
sub eax, 2
cmp eax, esi
ja 0x47e7e7
push 2
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x47e81b
mov word [eax], di
mov al, byte [ebp + 0x8a]
test al, al
mov byte [esp + 0x68], 1
mov bl, 0xf
jne 0x47e843
test byte [ebp + 0xb], bl
jne 0x47e843
push 1
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
mov ecx, ebp
call fcn.004531a0
jmp 0x47e853
push 1
push edi
lea edx, [esp + 0x1c]
push edx
push esi
mov ecx, ebp
call fcn.00451c30
mov eax, dword [esp + 0x14]
mov cx, word [eax]
cmp cx, di
jne 0x47e89e
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push edi
push eax
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push edi
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 8
mov ax, word [eax + 2]
cmp ax, di
mov dword [esp + 0x24], 1
jne 0x47e8b3
mov dword [esp + 0x24], edi
push 2
mov ebp, ecx
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x47e8ca
mov word [eax], di
mov esi, dword [esp + 0x2c]
mov al, byte [esi + 0x8a]
test al, al
mov byte [esp + 0x68], 2
jne 0x47e8f8
test byte [esi + 0xb], bl
jne 0x47e8f8
mov ecx, dword [esp + 0x70]
push 1
push edi
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.004531a0
jmp 0x47e90c
mov eax, dword [esp + 0x70]
push 1
push edi
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00451c30
mov ecx, dword [esp + 0x20]
push 0x2c
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x34], edi
call fcn.00449750
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp word [eax], 0x2c
je 0x47e96b
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x14]
call fcn.0043f290
lea ecx, [esp + 0x18]
call fcn.0043f290
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 8
add eax, 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], edi
mov cl, byte [esp + 0x13]
test cl, cl
mov byte [esp + 0x68], 3
je 0x47e99e
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x74]
push edx
push esi
call fcn.00461600
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x70], eax
mov ebx, eax
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x47e9cc
cmp bp, 0x41
jb 0x47e9c2
cmp bp, 0x5a
ja 0x47e9c2
or ebp, 0x20
cmp bp, 0x7a
ja 0x47e9cc
mov dl, 1
jmp 0x47e9ce
xor dl, dl
cmp word [esp + 0x24], 0
mov dword [esp + 0x1c], 0
lea esi, [ebx + eax*2 - 2]
jne 0x47ea8d
mov edi, dword [esp + 0x28]
cmp edi, 1
jl 0x47ea3a
test edi, edi
mov eax, esi
mov dword [esp + 0x70], eax
jle 0x47ea28
lea esp, [esp]
cmp eax, ebx
jb 0x47ea26
xor ecx, ecx
mov cx, word [eax]
cmp cx, bp
je 0x47ea1a
test dl, dl
je 0x47ea1b
or ecx, 0x20
cmp cx, bp
jne 0x47ea1b
dec edi
sub eax, 2
test edi, edi
mov dword [esp + 0x70], eax
jg 0x47ea00
test edi, edi
jne 0x47eb64
sub eax, ebx
sar eax, 1
add eax, 2
jmp 0x47eb60
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x70], ecx
mov ax, word [ebx]
test ax, ax
je 0x47eb64
mov edi, edi
cmp ax, bp
je 0x47ea7f
mov dl, byte [esp + 0x12]
test dl, dl
jne 0x47ea6b
cmp ax, 0x5a
ja 0x47ea6b
or eax, 0x20
cmp ax, bp
je 0x47ea7f
add ecx, 2
mov dword [esp + 0x70], ecx
mov ax, word [ecx]
test ax, ax
jne 0x47ea50
jmp 0x47eb64
sub ecx, ebx
sar ecx, 1
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x47eb64
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [esp + 0x28]
cmp ebp, 1
mov edi, eax
jl 0x47eb0b
lea ecx, [edi + edi]
sub esi, ecx
add esi, 2
test ebp, ebp
mov eax, esi
mov dword [esp + 0x70], eax
jle 0x47eafe
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, dword [esp + 0x34]
jb 0x47eafc
mov cl, byte [esp + 0x12]
test cl, cl
push edi
je 0x47eada
mov edx, dword [esp + 0x18]
push edx
push eax
call esi
jmp 0x47eae2
mov ecx, dword [esp + 0x18]
push ecx
push eax
call ebx
neg eax
sbb al, al
inc al
test al, al
je 0x47eaed
dec ebp
mov eax, dword [esp + 0x70]
sub eax, 2
test ebp, ebp
mov dword [esp + 0x70], eax
jg 0x47eac1
test ebp, ebp
jne 0x47eb64
sub eax, dword [esp + 0x34]
sar eax, 1
add eax, 2
jmp 0x47eb60
mov eax, ebx
mov dword [esp + 0x70], eax
cmp word [ebx], 0
je 0x47eb64
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov cl, byte [esp + 0x12]
test cl, cl
push edi
je 0x47eb36
mov edx, dword [esp + 0x18]
push edx
push eax
call esi
jmp 0x47eb3e
mov ecx, dword [esp + 0x18]
push ecx
push eax
call ebp
neg eax
sbb al, al
inc al
test al, al
mov eax, dword [esp + 0x70]
jne 0x47eb5b
add eax, 2
mov dword [esp + 0x70], eax
cmp word [eax], 0
jne 0x47eb23
jmp 0x47eb64
sub eax, ebx
sar eax, 1
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push 0x4efae8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push edi
call fcn.00444550
mov eax, dword [esp + 0x30]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x47ebac
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47ebc2
add eax, 0xfffffff8
push eax
mov eax, dword [0x51927c]
push 0
push eax
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call esi
mov eax, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push eax
call esi
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 8