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

Disassembly:
push 0xffffffffffffffff
push 0x62b5db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d8
mov eax, dword [0xd1276c]
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp eax, ebp
mov dword [esp + 0x1c], esi
je 0x5a0fe2
mov eax, dword [0xd127c0]
cmp eax, ebp
jne 0x5a0b92
mov eax, dword [0xa4f274]
push ebp
push ebp
push 0xd127c4
push 0xa257d8
push ebp
push ebp
push str..BitmapsUserItem.WSA
cmp eax, ebp
call fcn.005a5e90
add esp, 0x1c
mov dword [0xd127c0], eax
mov ecx, dword [0xd127c4]
mov edx, dword [eax]
push ecx
push edx
push ebp
push ebp
call dword [0xd36aac]
mov eax, dword [0xd127b8]
mov edx, dword [0xd127c0]
add esp, 0x10
mov ecx, dword [eax + 0x18]
cmp ecx, ebp
mov ecx, dword [0xd127c4]
push ecx
je 0x5a0bc5
mov eax, dword [edx + 8]
jmp 0x5a0bc8
mov eax, dword [edx + 4]
push eax
push ebp
push ebp
call dword [0xd36aac]
mov eax, dword [0xa4f274]
add esp, 0x10
cmp eax, ebp
push ebx
push edi
je 0x5a0c0b
mov eax, dword [0xd12754]
mov ecx, dword [0xd12750]
add eax, 0x92
push 0xffffff
add ecx, 0x16c
push eax
push ecx
push 0x668e50
call fcn.0047af10
add esp, 0x10
jmp 0x5a0c47
lea ebx, [esi + 0x78]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x30]
dec ecx
push edx
push ecx
push ebx
call fcn.005a9050
mov eax, dword [esp + 0x3c]
mov ecx, 0xbc
cdq
sub eax, edx
push 0xff
sar eax, 1
sub ecx, eax
push 0x21
push ecx
push ebx
call fcn.0047af10
add esp, 0x1c
mov dl, byte [esp + 0x1f]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
xor eax, eax
mov dword [esp + 0x3f0], ebp
mov ebx, 0x2e
mov ebp, 0x72
mov dword [esp + 0x14], 0x41
mov dword [esp + 0x10], 0x87
mov dword [esp + 0x18], eax
jmp 0x5a0c8c
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
xor ecx, ecx
lea edx, [eax + eax*8]
mov dword [esp + 0x1fe], ecx
add esi, eax
mov dword [esp + 0x202], ecx
lea edi, [esp + 0x2b8]
mov dword [esp + 0x206], ecx
lea eax, [esi + edx*8]
mov byte [esp + 0x20a], cl
lea esi, [esp + 0x184]
mov cx, word [eax + 0xba]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2b4], ecx
mov ecx, 0x4c
lea edx, [esp + 0x2b4]
lea eax, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dx, word [eax + 0x5c]
test edx, edx
mov dword [esp + 0x28], edx
jle 0x5a0e7e
lea esi, [edx*4]
mov eax, dword [esi + 0xa43b20]
test eax, eax
jne 0x5a0e1c
mov eax, dword [esp + 0x20]
cmp word [eax + 0xba], 0
jne 0x5a0d3c
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [str..BitmapsItem_]
mov eax, dword [0x656008]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x65600c]
mov dword [esp + 0x84], eax
mov eax, dword [0x656010]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x90]
push 0xa
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.0061d6c5
mov edi, str..wsa
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x90]
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x3c]
mov ecx, edx
and ecx, 3
lea edx, [esp + 0x94]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax*4]
lea ecx, [esi + 0xa2e594]
push ecx
push 0xa257d8
push 0
push 0
push edx
call fcn.005a5e90
add esp, 0x28
mov dword [esi + 0xa43b20], eax
mov eax, dword [0xd1276c]
test eax, eax
je 0x5a0e7e
mov eax, dword [esi + 0xa43b20]
test eax, eax
je 0x5a0e7e
mov ecx, dword [esi + 0xa2e594]
mov edx, dword [eax]
mov eax, dword [0xd12754]
push ecx
mov ecx, dword [0xd12750]
add eax, ebp
push edx
add ecx, ebx
push eax
push ecx
call dword [0xd36aac]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [0xd12754]
add esp, 0x10
add edx, ebp
add eax, ebx
push edx
mov edx, dword [0xd12750]
add ecx, ebp
push eax
add edx, ebx
push ecx
lea eax, [esp + 0x74]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5a0f1a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [ecx + 0x2b8], edx
push 0xfffffffffffffff8
mov ax, word [esi + 0xba]
push 0x2329
push eax
call fcn.0047b6d0
add esp, 0xc
lea ecx, [esp + 0x48]
lea eax, [esi + 0xd3]
mov edx, 3
xor edi, edi
add ecx, 4
mov di, word [eax]
add eax, 2
mov dword [ecx - 4], edi
dec edx
jne 0x5a0ed5
mov edx, dword [0xd12754]
mov eax, dword [0xd12750]
xor ecx, ecx
add edx, ebp
mov cx, word [esi + 0xd1]
add eax, ebx
push ecx
push edx
xor edx, edx
lea ecx, [esp + 0x50]
mov dx, word [esi + 0xba]
push eax
push ecx
push edx
mov ecx, 0xced988
call fcn.00534870
mov ecx, dword [esp + 0x18]
cmp ecx, 0xa
ja case.default.0x5a0f27
jmp dword [ecx*4 + 0x5a0ffc]
mov ebx, 0x104
mov ebp, 0x72
mov dword [esp + 0x14], 0x4b
mov dword [esp + 0x10], 0x64
jmp case.default.0x5a0f27
mov ebx, 0xa2
mov ebp, 0x46
mov eax, 0x2d
jmp 0x5a0fca
mov ebx, 0xa2
mov ebp, 0xd4
mov eax, 0x2d
jmp 0x5a0fca
mov ebx, 0xee
mov ebp, 0x4c
jmp 0x5a0fc5
mov ebx, 0x107
mov ebp, 0xf1
jmp 0x5a0fc5
mov ebx, 0x140
mov ebp, 0xf2
jmp 0x5a0fc5
mov ebx, 0x87
mov ebp, ebx
jmp 0x5a0fc5
mov ebx, 0xaf
mov ebp, 0x87
jmp 0x5a0fc5
mov ebx, 0xd4
mov ebp, 0x87
jmp 0x5a0fc5
mov ebx, 0x9b
jmp 0x5a0fc0
mov ebx, 0xc2
mov ebp, 0xaf
mov eax, 0x19
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
inc ecx
cmp ecx, 7
mov dword [esp + 0x18], ecx
jl 0x5a0c84
pop edi
pop ebx
mov ecx, dword [esp + 0x3e0]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3e4
ret