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

Disassembly:
sub esp, 0x614
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1c]
push edi
test eax, eax
je 0x559800
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x558deb
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x558dad
push 0
lea eax, [ebx + 0x74]
push 0
push eax
push 0xa257d8
push 0
push 0
push str..BitmapsInterfaceWSAQupo.WSA
jmp 0x558de0
mov eax, dword [0xa4f274]
push 0
test eax, eax
push 0
je 0x558dce
lea ecx, [ebx + 0x74]
push ecx
push 0xa257d8
push 0
push 0
push str..BitmapsInterfaceWSAMarkItem02.wsa
jmp 0x558de0
lea edx, [ebx + 0x74]
push edx
push 0xa257d8
push 0
push 0
push str..BitmapsInterfaceWSA_notbig5MarkItem01.wsa
call fcn.005a5e90
add esp, 0x1c
mov dword [ebx + 0x70], eax
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
push eax
mov edx, dword [ecx]
push edx
push 0xba
push 0x24
call dword [0xd36aac]
mov eax, dword [ebx + 0x7c]
add esp, 0x10
test eax, eax
jne 0x558e63
mov eax, dword [0xa4f274]
test eax, eax
je 0x558e1c
lea eax, [esp + 0x20]
push eax
jmp 0x558e21
lea edx, [esp + 0x20]
push edx
mov edi, 0xa2d134
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0xa2d134
call fcn.005a9050
mov eax, dword [esp + 0x2c]
mov ecx, 0xdc
cdq
sub eax, edx
push 0xffffff
sar eax, 1
sub ecx, eax
push 0xd9
push ecx
push 0xa2d134
call fcn.0047af10
add esp, 0x1c
mov edx, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x70]
mov eax, dword [edx + 0x18]
test eax, eax
mov eax, dword [ebx + 0x74]
push eax
je 0x558e79
mov edx, dword [ecx + 8]
jmp 0x558e7c
mov edx, dword [ecx + 4]
push edx
push 0xba
push 0x24
call dword [0xd36aac]
mov eax, dword [ebx + 0x68]
add esp, 0x10
mov ecx, dword [eax + 0x6c]
mov eax, dword [ebx + 0x7c]
test ecx, ecx
je 0x558eaa
test eax, eax
jne 0x558ec9
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
push ecx
mov eax, dword [edx + 0x18]
jmp 0x558eb8
test eax, eax
jne 0x558ec9
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
push ecx
mov eax, dword [edx + 0x14]
push eax
push 0xba
push 0x24
call dword [0xd36aac]
add esp, 0x10
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx + 0x88]
test eax, eax
mov eax, dword [ebx + 0x7c]
je 0x558ee9
test eax, eax
je 0x558f08
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
push edx
mov ecx, dword [eax + 8]
jmp 0x558ef7
test eax, eax
je 0x558f08
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
push edx
mov ecx, dword [eax + 4]
push ecx
push 0xba
push 0x24
call dword [0xd36aac]
add esp, 0x10
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x74]
test eax, eax
mov eax, dword [ebx + 0x70]
push edx
je 0x558f1b
mov ecx, dword [eax + 0x10]
jmp 0x558f1e
mov ecx, dword [eax + 0xc]
push ecx
push 0xba
push 0x24
call dword [0xd36aac]
mov dl, byte [0x648701]
add esp, 0x10
push edx
push 0xc
push 0x6486dc
push 0xc
push str.Arial
call fcn.005a7f50
lea ebp, [ebx + 0xd6]
lea eax, [ebx + 0xcc]
add esp, 0x14
mov dword [esp + 0x1c], 0x1c
mov dword [esp + 0x18], 0xfa
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov edx, dword [0xcf95d4]
mov eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0x68]
mov ecx, dword [0xcf95d0]
add eax, esi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5592d5
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
je 0x5592d5
mov eax, dword [0xa4f0fc]
xor esi, esi
cmp eax, esi
je 0x558fd8
mov ecx, dword [0xa4f104]
mov edx, dword [ecx]
mov ecx, dword [0xa4f100]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push 0xc2
call dword [0xd36ac8]
add esp, 0x14
mov ecx, dword [str..BitmapsItem_]
mov eax, dword [0x65600c]
mov edx, dword [0x656008]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x656010]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov ecx, 0x2e
xor eax, eax
lea edi, [esp + 0xa4]
mov dword [esp + 0x98], edx
mov dword [esp + 0x28], esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x30], esi
cmp eax, esi
je 0x559091
xor edx, edx
xor eax, eax
mov ax, word [ebx + 0x84]
mov dword [esp + 0x43a], edx
mov dword [esp + 0x43e], edx
mov ecx, 0x4c
mov dword [esp + 0x442], edx
lea esi, [esp + 0x3c0]
lea edi, [esp + 0x4f4]
mov byte [esp + 0x446], dl
mov dword [esp + 0x4f0], eax
lea edx, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x4f0]
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
jmp 0x5590f3
xor eax, eax
xor ecx, ecx
mov cx, word [ebp]
mov dword [esp + 0x1d6], eax
mov dword [esp + 0x1da], eax
mov dword [esp + 0x28c], ecx
mov dword [esp + 0x1de], eax
mov ecx, 0x4c
lea esi, [esp + 0x15c]
lea edi, [esp + 0x290]
mov byte [esp + 0x1e2], al
lea edx, [esp + 0x28c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x64]
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 + 0x40], edx
xor edx, edx
lea ecx, [esp + 0x48]
mov dx, word [eax + 0x5c]
push 0xa
push ecx
push edx
call fcn.0061d6c5
mov edi, str..wsa
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
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 + 0x94]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
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 eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xa257d8
push 0
lea ecx, [esp + 0xa8]
push 0
push ecx
call fcn.005a5e90
add esp, 0x1c
mov dword [esp + 0x28], eax
test eax, eax
je 0x5592d5
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5591dd
xor edx, edx
lea eax, [esp + 0x44]
mov dx, word [ebx + 0x84]
push eax
mov ecx, 0xced988
mov dword [esp + 0x48], edx
call fcn.00487810
mov edx, dword [0xced98c]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x5591d3
mov ecx, dword [esp + 0x44]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jl 0x5591d3
lea eax, [esp + 0x3c]
jmp 0x55921d
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
jmp 0x55921d
xor edx, edx
lea eax, [esp + 0x10]
mov dx, word [ebp]
push eax
mov ecx, 0xced988
mov dword [esp + 0x14], edx
call fcn.00487810
mov edx, dword [0xced98c]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x559215
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jl 0x559215
lea eax, [esp + 0x3c]
jmp 0x55921d
mov dword [esp + 0x20], edx
lea eax, [esp + 0x20]
mov ecx, dword [eax]
cmp ecx, edx
je 0x55928a
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x74]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, eax
mov eax, 0xac
sub eax, edx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
mov edx, ecx
mov ecx, 0x72
sub ecx, edx
test eax, eax
jge 0x559259
xor eax, eax
test ecx, ecx
jge 0x55925f
xor ecx, ecx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, 0x100
push eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 0x3e
push eax
call dword [0xd36aac]
add esp, 0x10
push 0
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.005a6840
mov eax, dword [ebx + 0x7c]
add esp, 0x10
test eax, eax
push 0xffffffffffffffff
je 0x5592bf
xor edx, edx
xor eax, eax
mov dx, word [ebx + 0x82]
mov ax, word [ebx + 0x84]
push edx
push eax
jmp 0x5592cd
xor ecx, ecx
xor edx, edx
mov cx, word [ebp - 2]
mov dx, word [ebp]
push ecx
push edx
call fcn.0047b6d0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
add eax, 4
add edi, 0x1c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 0x12
add ebp, 0x49
cmp eax, 0x11e
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
jl 0x558f74
mov edx, dword [0xcf95d4]
mov eax, dword [ebx + 0x68]
mov ecx, dword [0xcf95d0]
add eax, 0x1c
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x559331
mov eax, dword [ebx + 0xd0]
test eax, eax
jne 0x559677
mov edx, dword [0xcf95d4]
mov eax, dword [ebx + 0x68]
mov ecx, dword [0xcf95d0]
add eax, 0x38
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x55935e
mov eax, dword [ebx + 0xd0]
test eax, eax
jne 0x559677
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
je 0x559677
mov eax, dword [0xa4f0fc]
xor esi, esi
cmp eax, esi
je 0x55939c
mov ecx, dword [0xa4f104]
mov edx, dword [ecx]
mov ecx, dword [0xa4f100]
push edx
mov edx, dword [eax]
push ecx
push edx
push 0xfa
push 0xc2
call dword [0xd36ac8]
add esp, 0x14
mov eax, dword [str..BitmapsItem_]
mov ecx, dword [0x656008]
mov edx, dword [0x65600c]
mov dword [esp + 0x94], eax
mov eax, dword [0x656010]
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], eax
mov ecx, 0x2e
xor eax, eax
lea edi, [esp + 0xa4]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x1c], esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x559462
xor ecx, ecx
xor edx, edx
mov dx, word [ebx + 0x84]
mov dword [esp + 0x1d6], ecx
mov dword [esp + 0x1da], ecx
lea esi, [esp + 0x15c]
mov dword [esp + 0x1de], ecx
lea edi, [esp + 0x290]
mov byte [esp + 0x1e2], cl
mov ecx, 0x4c
mov dword [esp + 0x28c], edx
lea eax, [esp + 0x28c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, 0xced988
call fcn.00474ae0
mov edx, eax
push 0xa
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea edx, [esp + 0x4c]
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov cx, word [eax + 0x5c]
push edx
push ecx
jmp 0x5594d5
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x1d6], edx
xor eax, eax
mov ax, word [ecx]
mov dword [esp + 0x1da], edx
mov dword [esp + 0x1de], edx
mov ecx, 0x4c
mov byte [esp + 0x1e2], dl
lea esi, [esp + 0x15c]
lea edi, [esp + 0x290]
mov dword [esp + 0x28c], eax
lea edx, [esp + 0x28c]
lea eax, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
push 0xa
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edx
xor edx, edx
mov dx, word [eax + 0x5c]
push ecx
push edx
call fcn.0061d6c5
mov edi, str..wsa
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x94]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xa257d8
push 0
lea ecx, [esp + 0xa8]
push 0
push ecx
call fcn.005a5e90
add esp, 0x1c
mov dword [esp + 0x1c], eax
test eax, eax
je 0x559677
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5595b1
xor edx, edx
lea eax, [esp + 0x10]
mov dx, word [ebx + 0x84]
push eax
mov ecx, 0xced988
mov dword [esp + 0x14], edx
call fcn.00487810
mov edx, dword [0xced98c]
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x5595a7
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jl 0x5595a7
lea eax, [esp + 0x20]
jmp 0x5595f4
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
jmp 0x5595f4
mov eax, dword [esp + 0x34]
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [eax]
push ecx
mov ecx, 0xced988
mov dword [esp + 0x14], edx
call fcn.00487810
mov edx, dword [0xced98c]
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x5595ec
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jl 0x5595ec
lea eax, [esp + 0x20]
jmp 0x5595f4
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, edx
je 0x559661
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x74]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, eax
mov eax, 0xac
sub eax, edx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ecx + edx*4]
mov edx, ecx
mov ecx, 0x72
sub ecx, edx
test eax, eax
jge 0x559630
xor eax, eax
test ecx, ecx
jge 0x559636
xor ecx, ecx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, 0x100
push eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 0x3e
push eax
call dword [0xd36aac]
add esp, 0x10
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.005a6840
add esp, 0x10
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x55973e
mov bx, word [ebx + 0x84]
test bx, bx
jbe 0x559800
mov edx, dword [esp + 0x2c]
cmp dword [edx], 0
je 0x559800
lea eax, [esp + 0x10]
and ebx, 0xffff
push eax
mov ecx, 0xced988
mov dword [esp + 0x14], ebx
call fcn.00487810
mov ecx, dword [0xced98c]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x5596d7
mov edx, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
cmp edx, esi
jl 0x5596d7
lea eax, [esp + 0x20]
jmp 0x5596df
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x559800
add eax, 0x10
push eax
lea eax, [esp + 0x70]
push str._s_X_1
push eax
call fcn.006133d6
mov eax, dword [0xa4f274]
add esp, 0xc
test eax, eax
jne 0x559717
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.00586da0
add esp, 8
push 0xffffff
push 0xfd
lea edx, [esp + 0x74]
push 0xc9
push edx
call fcn.0047af10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x614
ret
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov esi, 0xfd
mov ax, word [edi]
test ax, ax
jbe 0x5597eb
cmp dword [ebx], 0
je 0x5597eb
and eax, 0xffff
mov ecx, 0xced988
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.00487810
mov ecx, dword [0xced98c]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x559797
mov edx, dword [esp + 0x10]
mov ebp, dword [eax + 0xc]
cmp edx, ebp
jl 0x559797
lea eax, [esp + 0x20]
jmp 0x55979f
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x5597eb
add eax, 0x10
push eax
lea eax, [esp + 0x70]
push str._s_X_1
push eax
call fcn.006133d6
mov eax, dword [0xa4f274]
add esp, 0xc
test eax, eax
jne 0x5597d3
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.00586da0
add esp, 8
push 0xffffff
push esi
lea edx, [esp + 0x74]
push 0xc9
push edx
call fcn.0047af10
add esp, 0x10
add esi, 0x12
add ebx, 4
add edi, 0x49
cmp esi, 0x121
jl 0x55974b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x614
ret