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

Disassembly:
push 0xffffffffffffffff
push 0x555f58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ecx, eax
and ecx, 2
xor ebx, ebx
and eax, 1
mov dword [esp + 0x18], ecx
je 0x48c986
cmp ecx, ebx
jne 0x48c986
mov edx, 0x7fff
jmp 0x48c988
xor edx, edx
cmp eax, ebx
je 0x48c997
cmp ecx, ebx
je 0x48c997
mov eax, 0x7fff
jmp 0x48c999
xor eax, eax
mov ecx, dword [esp + 0x70]
push edx
push eax
call fcn.0040fcd0
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp dword [ecx], ebx
sete al
mov ebp, eax
mov dword [esp + 0x7c], ebp
cmp ebp, ebx
je 0x48c9bf
mov dword [esp + 0x38], ebx
jmp 0x48c9d6
mov ecx, dword [esp + 0x6c]
add ecx, 0x58
call fcn.00417320
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [esp + 0x38], eax
push ebx
push ebx
lea ecx, [esp + 0x24]
call fcn.0040fcd0
mov edi, dword [esp + 0x6c]
add edi, 0x58
xor esi, esi
mov ecx, edi
mov dword [esp + 0x78], esi
call fcn.00417320
test eax, eax
jle 0x48cb84
lea ecx, [ecx]
lea ecx, [esp + 0x24]
call fcn.004139f0
mov dword [esp + 0x24], vtable.CArray_class_CWizToolBar___class_CWizToolBar__.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
cmp esi, ebx
mov dword [esp + 0x64], ebx
jl 0x48cbb1
cmp esi, dword [edi + 8]
jge 0x48cbb1
mov edx, dword [edi + 4]
mov ebp, dword [edx + esi*4]
lea eax, [edx + esi*4]
cmp ebp, ebx
je 0x48caa5
mov eax, dword [ebp]
mov edx, dword [eax + 0x160]
mov ecx, ebp
call edx
test eax, eax
je 0x48ca7b
mov eax, dword [esp + 0x2c]
mov ebx, eax
test eax, eax
jl 0x48cbb1
lea edi, [eax + 1]
lea esi, [esp + 0x24]
call fcn.00465d20
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x78]
mov dword [eax + ebx*4], ebp
xor ebx, ebx
add esi, 1
mov dword [esp + 0x78], esi
js 0x48cbb1
mov edi, dword [esp + 0x6c]
add edi, 0x58
cmp esi, dword [edi + 8]
jge 0x48cbb1
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
cmp ebp, ebx
jne 0x48ca43
lea ecx, [esp + 0x24]
call fcn.00417320
test eax, eax
je 0x48cafe
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
lea ebx, [esp + 0x3c]
call fcn.0048c760
mov edx, dword [esp + 0x28]
mov ebx, eax
test edx, edx
je 0x48caf2
push edx
call fcn.004dcb13
add esp, 4
xor edx, edx
mov dword [esp + 0x28], edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x48cb02
mov edx, dword [esp + 0x28]
test ebp, ebp
jne 0x48cb44
test ebx, ebx
je 0x48cb44
cmp dword [esp + 0x18], ebp
je 0x48cb2c
mov eax, dword [esp + 0x20]
add eax, ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x48cb27
mov eax, ecx
mov dword [ebx + 4], eax
jmp 0x48cb44
mov eax, dword [esp + 0x1c]
add eax, ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx]
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x48cb42
mov eax, ecx
mov dword [ebx], eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x24], vtable.CArray_class_CWizToolBar___class_CWizToolBar__.0
test edx, edx
je 0x48cb61
push edx
call fcn.004dcb13
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00416050
inc esi
mov ecx, edi
mov dword [esp + 0x78], esi
call fcn.00417320
xor ebx, ebx
cmp esi, eax
jl 0x48ca00
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
jne 0x48cb97
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x48cb97
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x14
call fcn.004dcd9a
int3