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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f421b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x244], 0
test eax, eax
je 0x558ade
cmp dword [eax + 0x58], 0
je 0x558ade
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x558ade
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
cmp eax, 4
jb 0x558ade
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x558ade
add ecx, 0x20
call fcn.005197b0
test eax, eax
je 0x558ade
mov ecx, dword [esi + 0x48]
add ecx, 0x20
call fcn.005197f0
test eax, eax
je 0x558ade
mov eax, dword [esi + 0x4c]
lea ecx, [ebp - 0x250]
mov edi, dword [esi + 0x48]
add eax, 0x30
mov dword [ebp - 0x240], eax
add edi, 0x20
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x250], 4
push ecx
mov dword [ebp - 0x264], edi
mov ecx, dword [eax + 0x58]
call fcn.00521aa0
mov eax, dword [esi + 8]
mov ecx, edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x250]
mov dword [esi + 8], eax
call fcn.005197b0
mov ecx, edi
mov dword [ebp - 0x254], eax
call fcn.005197f0
mov dword [ebp - 0x258], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x148]
sub eax, dword [edi + 0x144]
sar eax, 2
push 0x208
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x228], 0
movups xmmword [esi + 0x64], xmm0
call fcn.0058c8f0
mov eax, dword [esi + 0x4c]
xor edx, edx
mov ecx, dword [esi + 0x50]
add esp, 0xc
mov eax, dword [eax + 0x3c]
test eax, eax
mov dword [ebp - 0x26c], 0
cmovns edx, eax
mov dword [ebp - 0x268], 0
xor eax, eax
mov dword [ebp - 0x21c], edx
test edx, edx
setne al
xor edi, edi
mov dword [ebp - 0x25c], eax
call fcn.00514df0
push eax
push dword [ebp - 0x254]
lea eax, [ebp - 0x26c]
push 0x609ccc
push eax
call fcn.0051e360
mov ecx, dword [esi + 0x50]
add esp, 0x10
test eax, eax
cmovne edi, dword [ebp - 0x268]
call fcn.00514df0
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x26c]
push str.ABCabc_123
push eax
call fcn.0051e360
add esp, 0x10
mov dword [ebp - 0x22c], 0
test eax, eax
mov eax, 0
cmovne eax, dword [ebp - 0x268]
cmp edi, eax
cmovg eax, edi
mov edi, dword [ebp - 0x240]
mov dword [ebp - 0x224], eax
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x55855f
mov eax, dword [ebp - 0x22c]
mov edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x254]
mov ecx, dword [esi + 0x50]
test byte [edi + 0x14], 6
mov edi, dword [edi]
cmove eax, dword [ebp - 0x258]
mov dword [ebp - 0x260], eax
call fcn.00514df0
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x24c]
push edi
push eax
call fcn.0051e360
mov ecx, dword [ebp - 0x240]
add esp, 0x10
mov esi, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x248]
mov ecx, dword [ecx]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x228]
add edx, eax
mov ecx, dword [ecx + esi*4]
mov dword [ecx + 0x10], edi
mov edi, dword [ebp - 0x240]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x21c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov ecx, esi
add eax, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x18], 1
test edx, edx
jle 0x558541
cmp dword [ebp - 0x25c], 0
je 0x558541
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x558489
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x220], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x558476
sub ecx, dword [ebp - 0x220]
sar ecx, 1
cmp ecx, edx
jge 0x55849a
sub edx, ecx
mov dword [ebp - 0x21c], edx
jmp 0x558541
jne 0x5584b4
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x25c], 0
mov dword [esi + 0x64], ecx
jmp 0x558541
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0058c8f0
mov eax, dword [edi]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
lea eax, [edx + edx]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.0058bd80
mov ecx, dword [esi + 0x50]
add esp, 0x18
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], edx
movlpd qword [ebp - 0x29c], xmm0
call fcn.00514df0
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.0051e360
mov dword [ebp - 0x244], eax
add esp, 0x10
mov eax, dword [ebp - 0x29c]
sub eax, dword [ebp - 0x24c]
add eax, dword [ebp - 0x228]
mov dword [esi + 0x64], eax
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
inc dword [ebp - 0x22c]
sar eax, 2
cmp dword [ebp - 0x22c], eax
jl 0x5583a1
sub edx, ecx
sar edx, 2
test edx, edx
jle 0x5585a9
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi]
mov edx, dword [ebp - 0x224]
inc edx
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea eax, [ecx + 4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 4]
inc esi
sub eax, dword [edi]
sar eax, 2
cmp esi, eax
jl 0x558570
mov esi, dword [ebp - 0x238]
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp - 0x234]
add ecx, eax
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 0x6c], ecx
mov ecx, dword [ebp - 0x224]
mov dword [esi + 0x68], 0
mov dword [esi + 0x70], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x55863f
cmp dword [eax + 0x64], 0
je 0x55863f
mov edi, dword [esi + 0x50]
test edi, edi
je 0x55863f
mov edi, dword [edi + 0x54]
test edi, edi
je 0x55863f
mov ecx, edi
call fcn.00557290
test eax, eax
jne 0x55863f
mov ecx, edi
call fcn.00535b00
mov ecx, dword [esi + 0x50]
mov edi, eax
mov ecx, dword [ecx + 0x54]
call fcn.00535830
mov ecx, dword [esi + 0x2c]
lea edx, [edi + 0x1e]
add edx, ecx
mov dword [esi + 0xc8], eax
add ecx, 0x1e
mov dword [esi + 0xc0], 0
lea eax, [edi + 0x1e]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc4], edx
add dword [esi + 0x2c], eax
jmp 0x558649
xorps xmm0, xmm0
movups xmmword [esi + 0xbc], xmm0
mov ecx, esi
call fcn.00557ba0
push 1
mov ecx, esi
call fcn.0052f020
test eax, eax
je 0x55875f
push 1
mov ecx, esi
call fcn.0052f020
mov ecx, dword [esi + 0x4c]
mov edi, eax
push 1
call fcn.005376a0
test eax, eax
jne 0x55875f
mov ecx, edi
call fcn.005197b0
test eax, eax
je 0x55875f
mov ecx, dword [esi + 0x4c]
push 1
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
call fcn.00537630
mov ecx, dword [esi + 0x50]
mov edi, dword [eax]
call fcn.00514df0
push eax
push 1
mov ecx, esi
call fcn.0052f050
push eax
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.0051e360
add esp, 0x10
test eax, eax
je 0x55875f
mov eax, dword [ebp - 0x238]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x23c]
add eax, 0x14
add eax, ecx
lea edi, [ecx + 0x14]
mov ecx, dword [esi + 0x4c]
push 1
mov dword [ebp - 0x220], eax
call fcn.00537630
mov ecx, dword [ebp - 0x220]
push 1
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x224]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x4c]
call fcn.00537630
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x18]
mov eax, dword [esi + 0x30]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
inc eax
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 1
call fcn.00537630
add eax, 0x14
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x23c]
add eax, 0x14
add dword [esi + 0x2c], eax
xor eax, eax
xor edi, edi
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x21c], edi
cmp dword [eax + 0x18], edi
je 0x5588bf
mov eax, dword [eax + 0x40]
cmp dword [eax - 0xc], edi
je 0x5588bf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x7c], xmm0
xor ecx, ecx
cmp dword [esi + 0x4c], eax
je 0x5588a8
cmp dword [esi + 0x48], eax
je 0x5588a8
mov ecx, esi
mov dword [ebp - 0x224], eax
call fcn.0052ef10
xor ecx, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
test eax, eax
je 0x558850
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x40]
xor ecx, ecx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x21c], ecx
cmp dword [eax - 0xc], ecx
je 0x558850
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x21c], ecx
mov ecx, dword [esi + 0x50]
call fcn.00514df0
push eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push dword [ebp - 0x238]
push eax
call fcn.0051e360
mov edx, dword [ebp - 0x22c]
add esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x220], eax
je 0x55883b
lea ecx, [eax + 0x27]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], ecx
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x220]
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], edx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], edi
push eax
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x270], edi
call fcn.00519740
mov ecx, dword [ebp - 0x274]
cmp dword [ebp - 0x21c], ecx
mov eax, dword [ebp - 0x270]
cmovg ecx, dword [ebp - 0x21c]
cmp dword [ebp - 0x224], eax
mov dword [esi + 0x84], ecx
mov ecx, edi
cmovg eax, dword [ebp - 0x224]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], eax
mov edi, dword [esi + 0x84]
sub eax, ecx
sub edi, dword [esi + 0x7c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], edi
lea ecx, [ebp - 0x294]
call fcn.00517450
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0052ed30
mov ecx, dword [ebp - 0x234]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xa
add eax, edi
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 0x30]
add eax, dword [esi + 0x2c]
add eax, dword [ebp - 0x28c]
add eax, dword [ebp - 0x294]
add ecx, dword [ebp - 0x288]
add ecx, dword [ebp - 0x290]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x224]
mov edx, eax
cmp ecx, eax
mov dword [ebp - 0x220], ecx
cmovg edx, ecx
mov dword [ebp - 0x228], edx
jge 0x558988
mov edx, dword [esi + 0x4c]
xor edi, edi
mov ecx, dword [edx + 0x34]
sub ecx, dword [edx + 0x30]
test ecx, 0xfffffffc
jle 0x558982
sub eax, dword [ebp - 0x220]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x220], eax
push eax
mov eax, dword [ebp - 0x240]
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + edi*4]
add ecx, 4
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x4c]
inc edi
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
sar eax, 2
cmp edi, eax
mov eax, dword [ebp - 0x220]
jl 0x558953
mov edi, dword [ebp - 0x21c]
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x94], 0
je 0x5589c4
mov ecx, dword [esi + 0x50]
call fcn.00514c40
cmp eax, 1
je 0x5589c4
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx + 0x188]
sub eax, dword [ecx + 0x184]
sar eax, 2
add eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x234]
jmp 0x5589ef
mov ecx, dword [esi + 0x50]
call fcn.00514c40
cmp eax, 1
jne 0x5589e0
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x94], 0
je 0x5589e0
mov eax, dword [esi + 8]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x228]
lea eax, [ecx + eax*2]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x18], eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
test ecx, ecx
jne 0x558a26
cmp dword [esi + 0x78], ecx
je 0x558a73
neg edi
sbb edi, edi
and edi, 5
add dword [esi + 0x14], edi
test ecx, ecx
je 0x558a50
lea eax, [ebp - 0x284]
push eax
call fcn.00519740
mov ecx, dword [ebp - 0x280]
cmp dword [esi + 0x18], ecx
cmovg ecx, dword [esi + 0x18]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x558a73
lea eax, [ebp - 0x27c]
push eax
call fcn.00519740
mov ecx, dword [ebp - 0x278]
cmp dword [esi + 0x18], ecx
cmovg ecx, dword [esi + 0x18]
mov dword [esi + 0x18], ecx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x194]
add ecx, dword [eax + 0x190]
add ecx, dword [ebp - 0x27c]
add ecx, dword [ebp - 0x284]
mov eax, dword [esi + 0x14]
add eax, ecx
mov ecx, 0x78
cmp eax, ecx
cmovg ecx, eax
mov eax, ecx
mov dword [esi + 0x14], ecx
and eax, 0x80000007
jns 0x558ab3
dec eax
or eax, 0xfffffff8
add eax, 1
je 0x558acb
inc ecx
mov eax, ecx
and eax, 0x80000007
jns 0x558ac6
dec eax
or eax, 0xfffffff8
add eax, 1
jne 0x558ab5
mov dword [esi + 0x14], ecx
lea ecx, [ebp - 0x294]
call fcn.005179f0
mov eax, dword [ebp - 0x244]
jmp 0x558aed
xorps xmm0, xmm0
xor eax, eax
movq qword [esi + 0x14], xmm0
movq qword [esi + 0x2c], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret 4