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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x52bf82
push eax
mov eax, 0x2098
mov dword fs:[0], esp
call fcn.004c79b0
mov eax, dword [0x572084]
push ebx
push ebp
push esi
push edi
mov esi, ecx
or edi, 0xffffffff
cmp eax, 6
mov dword [esp + 0x14], esi
jge 0x4b8e98
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
push ebx
push 0x59
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4b942d
cmp byte [esi + 0x4c], bl
je 0x4b8e53
cmp dword [esp + 0x18], 0x8040804
jne 0x4b942d
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, 1
push edi
lea ecx, [esp + 0xac]
push 0x569544
push ecx
call ebp
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], dl
push ebx
call fcn.0040d630
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x20b4], ebx
mov byte [esp + 0x74], al
call fcn.0040d630
lea ecx, [esp + 0x60]
lea edx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + 0x20b8], 1
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b8e2b
mov esi, 8
cmp dword [esp + 0x68], esi
jne 0x4b8e2b
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x4b8ca4
mov eax, 0x535104
add eax, 8
push 0x569538
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4b8ce7
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x20b4], bl
call fcn.0040d630
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x20b4], 0xffffffff
call fcn.0040d630
jmp 0x4b8dc1
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x4b8cf4
mov eax, 0x535104
push eax
lea eax, [esp + 0xac]
push 0x5694f0
push eax
call ebp
lea ecx, [esp + 0x7c]
lea edx, [esp + 0xb4]
push ecx
push edx
call fcn.004a2520
add esp, 0x14
test eax, eax
je 0x4b8d23
cmp dword [esp + 0x78], esi
je 0x4b8d40
push 0x56f018
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x70]
push eax
push 0x56f018
call fcn.0040fea0
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
jne 0x4b8d4d
mov ecx, 0x535104
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x4b8d5a
mov eax, 0x535104
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.004bb540
mov esi, eax
cmp esi, ebx
je 0x4b8e2b
push esi
call sub.IMM32.dll_ImmIsIME
test eax, eax
je 0x4b8d94
lea eax, [esp + 0xa8]
push 0x1000
push eax
push esi
call sub.IMM32.dll_ImmGetIMEFileNameW
test eax, eax
ja 0x4b8e27
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x20b4], bl
call fcn.0040d630
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x20b4], 0xffffffff
call fcn.0040d630
mov esi, 8
inc edi
lea ecx, [esp + 0xa8]
push edi
push 0x569544
push ecx
call ebp
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], dl
push ebx
call fcn.0040d630
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x20b4], ebx
mov byte [esp + 0x74], al
call fcn.0040d630
lea ecx, [esp + 0x60]
lea edx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + 0x20b8], 1
call fcn.004a2520
add esp, 8
test eax, eax
jne 0x4b8c8d
jmp 0x4b8e2b
mov dword [esp + 0x18], esi
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x20b4], bl
call fcn.0040d630
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x20b4], 0xffffffff
call fcn.0040d630
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov eax, edx
cmp eax, ecx
je 0x4b942d
mov esi, dword [esp + 0x18]
cmp dword [eax + 0x40], esi
je 0x4b8e7c
add eax, 0x44
cmp eax, ecx
jne 0x4b8e6b
jmp 0x4b942d
sub eax, edx
mov ecx, eax
mov eax, 0x78787879
imul ecx
mov eax, edx
sar eax, 5
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
jmp 0x4b9430
lea edx, [esp + 0x84]
push 0
push edx
push 0
push 0x59
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4b942d
cmp word [esp + 0x84], 0x804
jne 0x4b942d
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.0040d630
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov dword [esp + 0x20b4], 2
call fcn.0040d630
lea edx, [esp + 0x4c]
mov byte [esp + 0x20b0], 3
push edx
push 0x56942c
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b92e1
lea eax, [esp + 0x80]
push eax
push 0x56935c
call fcn.004a2910
add esp, 8
test eax, eax
je 0x4b92e1
lea ecx, [esp + 0x1c]
push ecx
push 0x569298
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b92e1
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4b8f5b
mov eax, 0x535104
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x569248
push eax
call esi
add esp, 8
test eax, eax
je 0x4b8f7b
mov dword [esp + 0x80], 0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], dl
call fcn.0040d630
mov al, byte [esp + 0x13]
mov ebx, 4
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x20b4], bl
mov byte [esp + 0x30], al
call fcn.0040d630
lea ecx, [esp + 0x3c]
mov byte [esp + 0x20b0], 5
push ecx
push 0x569160
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b93df
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b8fdc
mov eax, 0x535104
mov ebp, dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [esp + 0x88]
push edx
push eax
call ebp
test eax, eax
jl 0x4b93df
lea eax, [esp + 0x5c]
push eax
push 0x569064
call fcn.004a2910
add esp, 8
test eax, eax
je 0x4b93df
lea ecx, [esp + 0x2c]
push ecx
push 0x568f78
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b93df
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b9036
mov eax, 0x535104
lea edx, [esp + 0x98]
push edx
push eax
call ebp
test eax, eax
jl 0x4b93df
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4b9056
mov ecx, 0x535104
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4b9063
mov eax, 0x535104
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x4b93df
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4b907f
mov ecx, 0x535104
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4b908c
mov eax, 0x535104
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x4b93df
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jne 0x4b93df
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x4c]
test dl, dl
je 0x4b9186
mov ecx, ebx
mov edi, 0x53b90c
lea esi, [esp + 0x88]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b93df
mov ecx, ebx
mov edi, 0x53b90c
lea esi, [esp + 0x98]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b93df
cmp eax, 0x8040804
jne 0x4b93df
lea eax, [esp + 0x3c]
push eax
push 0x568e90
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b93df
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b911f
mov eax, 0x535104
lea ecx, [esp + 0x88]
push ecx
push eax
call ebp
test eax, eax
jl 0x4b93df
lea edx, [esp + 0x5c]
push edx
push 0x568d94
call fcn.004a2910
add esp, 8
test eax, eax
je 0x4b93df
lea eax, [esp + 0x2c]
push eax
push 0x568ca8
call fcn.004a2520
add esp, 8
test eax, eax
je 0x4b93df
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b9173
mov eax, 0x535104
lea ecx, [esp + 0x98]
push ecx
push eax
call ebp
test eax, eax
jl 0x4b93df
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x4b9217
lea edx, [eax + 0x20]
jmp 0x4b91a6
mov ebx, 4
xor ebp, ebp
mov ecx, ebx
mov edi, 0x53b90c
lea esi, [esp + 0x88]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b91d6
mov ecx, 4
mov edi, 0x53b90c
lea esi, [esp + 0x98]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b91d6
mov ebp, dword [edx + 0x20]
mov ecx, 4
lea edi, [esp + 0x88]
mov esi, edx
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b9209
mov ecx, 4
lea edi, [esp + 0x98]
lea esi, [edx + 0x10]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4b9209
cmp ebp, dword [esp + 0x5c]
je 0x4b9300
mov ecx, dword [esp + 0x18]
add eax, 0x44
add edx, 0x44
cmp eax, ecx
jne 0x4b91a1
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp ecx, esi
je 0x4b923f
mov al, byte [ecx - 1]
test al, al
je 0x4b9233
cmp al, 0xff
je 0x4b9233
dec al
mov byte [ecx - 1], al
jmp 0x4b923f
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], esi
cmp ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
je 0x4b9271
mov al, byte [ecx - 1]
test al, al
je 0x4b9265
cmp al, 0xff
je 0x4b9265
dec al
mov byte [ecx - 1], al
jmp 0x4b9271
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], esi
cmp ecx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x4b92a3
mov al, byte [ecx - 1]
test al, al
je 0x4b9297
cmp al, 0xff
je 0x4b9297
dec al
mov byte [ecx - 1], al
jmp 0x4b92a3
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], esi
cmp ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x4b942d
mov al, byte [ecx - 1]
test al, al
je 0x4b92d0
cmp al, 0xff
je 0x4b92d0
dec al
mov byte [ecx - 1], al
jmp 0x4b942d
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4b942d
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x20b4], 2
call fcn.0040d630
mov dword [esp + 0x20b0], edi
jmp 0x4b9422
mov ebx, dword [esp + 0x14]
sub eax, ebx
xor ebx, ebx
mov ecx, eax
mov eax, 0x78787879
imul ecx
mov ecx, dword [esp + 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, ebx
mov esi, edx
je 0x4b9343
mov al, byte [ecx - 1]
cmp al, bl
je 0x4b9337
cmp al, 0xff
je 0x4b9337
dec al
mov byte [ecx - 1], al
jmp 0x4b9343
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4b9375
mov al, byte [ecx - 1]
cmp al, bl
je 0x4b9369
cmp al, 0xff
je 0x4b9369
dec al
mov byte [ecx - 1], al
jmp 0x4b9375
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
cmp ecx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x4b93a7
mov al, byte [ecx - 1]
cmp al, bl
je 0x4b939b
cmp al, 0xff
je 0x4b939b
dec al
mov byte [ecx - 1], al
jmp 0x4b93a7
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x4b93db
mov al, byte [ecx - 1]
cmp al, bl
je 0x4b93cf
cmp al, 0xff
je 0x4b93cf
dec al
mov byte [ecx - 1], al
mov eax, esi
jmp 0x4b9430
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
jmp 0x4b9430
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x20b4], bl
call fcn.0040d630
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x20b4], 3
call fcn.0040d630
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x20b4], 2
call fcn.0040d630
mov dword [esp + 0x20b0], 0xffffffff
push 1
lea ecx, [esp + 0x50]
call fcn.0040d630
or eax, 0xffffffff
mov ecx, dword [esp + 0x20a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20a4
ret