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

Disassembly:
push 0xffffffffffffffff
push 0x5df9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x9c]
push edi
lea edi, [esi + 0x9c]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x90], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xb8], 0x5f9258
mov dword [esp + 0xbc], eax
jne 0x4bb7b3
mov eax, 1
mov dword [esp + 0xbc], eax
mov dword [edi], eax
cmp eax, ebx
mov dword [esp + 0xcc], ebx
jne 0x4bb7c5
xor eax, eax
jmp 0x4bc0d9
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xa8]
cmp ecx, eax
jne 0x4bb7ff
fld dword [esi + 0xac]
fcomp dword [esp + 0xe0]
fnstsw ax
test ah, 0x40
je 0x4bb7ff
cmp dword [esi + 0xa0], ebx
je 0x4bb80f
mov edx, dword [esp + 0xe0]
push edx
push ecx
mov ecx, esi
call fcn.004bc4f0
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004bafe0
mov ecx, dword [esi + 0x90]
mov ebp, eax
mov dword [esp + 0x6c], ebp
mov edx, dword [ecx]
call dword [edx + 4]
cmp bp, ax
jb 0x4bb840
mov dword [edi], ebx
jmp 0x4bc0d4
mov edx, dword [esp + 0x10]
cmp edx, ebx
je 0x4bb857
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
jmp 0x4bb877
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x294]
mov eax, dword [eax + 0x298]
cmp ecx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
jne 0x4bb880
cmp eax, ecx
jne 0x4bb880
mov edx, 1
mov dword [esp + 0x10], edx
cmp dword [esp + 0xe4], ebx
je 0x4bb895
push edx
mov ecx, esi
call fcn.004bc630
mov edx, dword [esp + 0x10]
lea eax, [esi + 0xc4]
mov ecx, dword [esi + 0xc4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x240], ebx
je 0x4bb8c9
cmp edx, ebx
jne 0x4bb8d5
cmp dword [eax + 0x3a0], ebx
je 0x4bb8df
cmp edx, ebx
jne 0x4bb8df
mov dword [esp + 0x1c], 1
jmp 0x4bb8e3
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax + 0x23c]
mov edx, dword [eax + 0x168]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x90]
push ebp
mov dword [esp + 0x34], edx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 2
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.004baf40
mov ecx, dword [esi + 0xb0]
mov ebx, ebp
and ebx, 0xffff
and eax, 0xffff
lea ecx, [ecx + ebx - 1]
cmp eax, ecx
jl 0x4bb92f
mov eax, ecx
mov ecx, dword [esi + 0x90]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [esp + 0x28], eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x3a0]
test ecx, ecx
je 0x4bb97c
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4bb97c
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x23c], 0
inc ecx
mov dword [esp + 0x3c], ecx
jmp 0x4bb9d5
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
cmp bp, word [esp + 0x18]
jb 0x4bb9b8
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
and ecx, 0xffff
sub eax, ecx
cmp ebx, eax
jl 0x4bb9c5
mov edx, dword [esi + 0x78]
mov dword [edx + 0x168], 0xffffffff
mov ecx, dword [esi + 0x90]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x90]
push ebp
mov edx, dword [ecx]
call dword [edx + 0xc]
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x22c]
test ecx, ecx
jne 0x4bbaae
mov ecx, dword [eax + 0x3a4]
test ecx, ecx
je 0x4bbaae
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4bbaae
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4bba2a
mov byte [esp + 0x98], 0x20
mov byte [esp + 0x99], 0x28
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4bba60
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
push eax
lea eax, [esp + 0xa0]
push 0x666798
push eax
call edi
lea ecx, [esp + eax + 0xa4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4bba87
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x9c]
push 0x6667a8
push edx
call edi
lea eax, [esp + eax + 0xa0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test ebp, ebp
je 0x4bba9f
lea ecx, [esp + 0x98]
push ecx
call edi
mov byte [esp + eax + 0x98], 0x29
jmp 0x4bbab2
mov dword [esp + 0x3c], 0
mov ebp, 1
jmp 0x4bbab2
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0x90]
push eax
movsx edx, word [eax + 0x18]
mov dword [esi + 0xfc], edx
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xd0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004bc100
mov eax, dword [esi + 0x78]
mov edx, dword [eax + 0x28c]
mov edi, dword [eax + 0x22c]
and edi, edx
mov dword [eax + 0x22c], edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4bbb4a
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx + 0x22c]
test edx, edx
je 0x4bbb4a
xor ecx, ecx
jmp 0x4bbb4f
mov ecx, 1
push 1
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xa0]
push edx
push ecx
push ebp
lea edx, [esp + 0x54]
push eax
push edx
push ebx
mov ecx, esi
call fcn.004bb1f0
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x23c], ecx
mov edx, dword [esi + 0x78]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x168], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bbbfc
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je 0x4bbbfc
mov eax, dword [eax + 0x2b0]
mov edx, dword [esi + 0xa8]
inc eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 1
push ecx
push edx
call fcn.004cc500
mov edi, dword [esp + 0x48]
add esp, 8
sub edi, eax
mov eax, dword [esi + 0xb4]
cmp edi, eax
jge 0x4bbbd1
mov edi, eax
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0xa8]
mov eax, dword [eax + 0x2b0]
inc eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 1
push ecx
push edx
call fcn.004cc500
add esp, 8
add eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x78]
xor edi, edi
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x134]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0x13c]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x154]
cmp ecx, edi
mov dword [esp + 0x78], edx
jne 0x4bbc44
mov dword [eax + 0x138], edi
mov edx, dword [esi + 0x78]
mov dword [edx + 0x134], edi
mov eax, dword [esi + 0x78]
mov dword [eax + 0x13c], edi
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0xac]
push 1
mov edx, dword [ecx + 0x70]
lea ecx, [esp + 0x44]
push edx
mov edx, dword [esi + 0x78]
push 1
push eax
mov eax, dword [esi + 0xa8]
push ecx
mov ecx, dword [esi + 0xa4]
push edx
push eax
push ecx
call fcn.004cb120
mov edx, dword [esi + 0x78]
add esp, 0x20
cmp dword [edx + 0x2c0], 3
jne 0x4bbca8
cmp dword [esp + 0x10], edi
jne 0x4bbca8
mov eax, dword [esi + 0xa8]
push 0xd8
push eax
call fcn.004cc540
mov ecx, dword [esp + 0x54]
add esp, 8
sub ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], edi
cmp eax, edi
jle 0x4bc07c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4bc067
fild dword [esp + 0x20]
fmul qword [0x5f92c0]
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
push ebx
push edx
push ebp
push eax
mov ecx, esi
call fcn.004be240
mov ecx, dword [esi + 0xa8]
push 0xe
push ecx
call fcn.004cc500
cdq
idiv ebx
mov edx, dword [esi + 0xa8]
push 0xe
push edx
mov edi, eax
call fcn.004cc540
mov dword [esp + 0x24], eax
add esp, 0x10
fild dword [esp + 0x14]
fdiv dword [esp + 0x70]
call fcn.0055b3c8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x2c0], 2
jne 0x4bbd77
dec ebx
cmp ebx, 1
jg 0x4bbd77
mov ebx, 1
mov ecx, dword [eax + 0x29c]
test ecx, ecx
jne 0x4bbd90
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
imul ebx, ebp
add ebx, edx
jmp 0x4bbd97
imul ebx, dword [esp + 0x18]
add ebx, ebp
mov ecx, dword [esp + 0x6c]
add ebx, ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4bbe3b
mov ecx, dword [eax + 0x22c]
test ecx, ecx
je 0x4bbe3b
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], ecx
mov ecx, edi
mov dword [esp + 0x84], edx
neg ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
push 0
lea edx, [esp + 0x80]
push ecx
push edx
mov dword [esp + 0x94], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x9c]
push 1
push eax
push ecx
mov ecx, ebx
push 0
lea eax, [esp + 0x90]
push edx
and ecx, 0xffff
push eax
push ecx
mov ecx, esi
call fcn.004bb1f0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + 0x138]
test eax, eax
je 0x4bbe5f
mov eax, dword [esp + 0x14]
mov edx, edi
neg eax
push eax
lea eax, [esp + 0x54]
neg edx
push edx
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x78]
mov ebp, dword [esp + 0x50]
mov ecx, dword [eax + 0x2b0]
inc ecx
imul ecx, edi
sub ebp, ecx
mov ecx, dword [eax + 0x2a4]
test ecx, ecx
jne 0x4bbe82
mov dword [esp + 0x24], ebp
jmp 0x4bbe8d
mov edx, dword [esp + 0x58]
lea eax, [edx + edi*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x4bc052
mov edx, dword [esi]
push 2
push ebx
mov ecx, esi
call dword [edx]
dec eax
je 0x4bbef0
sub eax, 2
mov eax, dword [esi + 0x78]
je 0x4bbed0
mov edx, dword [eax + 0x19c]
lea ecx, [eax + 0x178]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], ecx
jmp 0x4bbf0f
mov ecx, dword [eax + 0x364]
lea edx, [eax + 0x340]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x368]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], edx
jmp 0x4bbf0f
mov eax, dword [esi + 0x78]
mov dword [esp + 0x60], 0
mov edx, dword [eax + 0x2f0]
lea ecx, [eax + 0x2f4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4bbf8e
mov ecx, dword [eax + 0x2d0]
mov edx, dword [eax + 0x2d4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
mov dword [esp + 0x38], edx
je 0x4bbf3d
mov dword [esi + 0x104], ebp
jmp 0x4bbf47
mov dword [esi + 0x104], 0
mov edi, dword [eax + 0x2a8]
mov edx, dword [eax + 0x1f8]
mov ebp, dword [esp + 0x24]
lea ecx, [eax + 0x1d0]
neg edi
sbb edi, edi
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x240]
mov dword [esp + 0x2c], ecx
and edi, ebp
mov ebp, dword [eax + 0x1f4]
xor ecx, ecx
test edx, edx
mov edx, dword [eax + 0x2cc]
sete cl
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
jmp 0x4bbfd4
xor edi, edi
lea ecx, [eax + 0x1d0]
mov dword [esi + 0x104], edi
mov edx, dword [eax + 0x1f8]
mov ebp, dword [eax + 0x1f4]
push 2
mov dword [esp + 0x30], ecx
push edi
push edi
mov ecx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], edi
call fcn.004baf40
cmp bx, ax
ja 0x4bc052
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
mov ecx, dword [esp + 0x24]
push 1
push edi
push eax
mov eax, dword [edx + 0x3a8]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x104]
push edx
mov edx, dword [esp + 0x7c]
push ebp
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0x88]
push eax
push ebx
mov eax, dword [esp + 0x94]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.004bc7b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4bbcda
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x4bbcb8
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x154]
test ecx, ecx
jne 0x4bc0b0
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x138], ecx
mov edx, dword [esi + 0x78]
mov eax, dword [esp + 0x74]
mov dword [edx + 0x13c], eax
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x78]
mov dword [ecx + 0x134], edx
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x4bc0c7
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004bc630
mov ecx, dword [esp + 0x90]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 0x18