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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x297d]
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x5e2c]
mov dword [esp + 0x3c], eax
mov edx, eax
mov al, byte [esi + 0x123f]
mov edi, dword [ecx + edx*4 + 0x5e30]
test al, al
jne 0x450734
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
test ebx, ebx
je 0x44fce7
fld dword [esp + 0xac]
fmul dword [esp + 0xac]
fld dword [esp + 0xa8]
fmul dword [esp + 0xa8]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
faddp st(1)
fcomp dword [0x4f0400]
fnstsw ax
test ah, 0x40
jne 0x44fce7
mov eax, dword [esp + 0xb0]
mov ecx, dword [ecx + 0x5f47]
push eax
lea edx, [esp + 0x88]
push ebp
push edx
call fcn.004afa10
mov edx, dword [edi + 0x60]
mov ecx, eax
push edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
mov ecx, dword [esi + 0x297d]
push eax
call fcn.004d2080
test al, al
jne 0x44fce7
xor ebx, ebx
mov eax, dword [esi + 0x2959]
test eax, eax
jne 0x45009d
mov al, byte [esi + 0x5f0]
test al, al
je 0x44fe87
mov eax, dword [esi + 0x771]
mov ebx, dword [esp + 0x9c]
cmp ebx, eax
jge 0x44fd1d
mov ebx, eax
mov dword [esp + 0x9c], ebx
mov edx, dword [esi + 0x971]
lea ecx, [edx + eax - 1]
cmp ebx, ecx
jle 0x44fd34
mov ebx, ecx
mov dword [esp + 0x9c], ebx
mov edi, dword [esi + 0x871]
mov ebp, dword [esp + 0xa0]
cmp ebp, edi
jge 0x44fd47
mov ebp, edi
mov ecx, dword [esi + 0xa71]
lea ecx, [ecx + edi - 1]
cmp ebp, ecx
jle 0x44fd57
mov ebp, ecx
mov edx, dword [esi + 0x61d]
mov ecx, dword [esi + 0x5f1]
imul ecx, edx
add ecx, eax
mov eax, dword [esi + 0x5f5]
imul eax, edx
add eax, edi
cmp eax, ebp
mov dword [esp + 0x78], eax
jl 0x44fd7f
mov dword [esp + 0x78], ebp
cmp ecx, ebx
mov ebx, ecx
jl 0x44fd8c
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x7c], ecx
cmp ecx, edx
jg 0x44fd9f
mov dword [esp + 0x7c], edx
cmp eax, ebp
mov dword [esp + 0x80], eax
jg 0x44fdb1
mov dword [esp + 0x80], ebp
mov al, byte [0x87f854]
test al, 1
jne 0x44fdd5
push 0xffffff
or al, 1
push 1
push 0
mov byte [0x87f854], al
call dword [0x4f0078]
mov dword [0x87f858], eax
mov edx, dword [esi + 0x2965]
mov eax, dword [edx + 0x95]
lea edx, [esp + 0x10]
push edx
mov edi, dword [eax + 0x4c]
push edi
mov ecx, dword [edi]
call dword [ecx + 0x44]
test eax, eax
jne 0x450734
mov eax, dword [0x87f858]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [0x4f00a0]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
push 0
push ebp
push ebx
push edx
call dword [0x4f007c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
mov esi, dword [0x4f0074]
push ebp
push eax
push ecx
call esi
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call esi
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x10]
push edx
push ebx
push eax
call esi
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push ecx
call esi
mov edx, dword [0x87f858]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [0x4f00a0]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
push edx
push edi
call dword [ecx + 0x68]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18
mov eax, dword [esi + 0x520]
test eax, eax
jle 0x44fee1
lea ecx, [esi + 0x524]
mov ebp, eax
mov eax, dword [ecx]
mov dl, byte [eax + edi + 0x8a0]
test dl, dl
jne 0x44fedb
test eax, eax
jl 0x44feba
cmp eax, 0x200
jge 0x44feba
mov eax, dword [edi + eax*4 + 0xa0]
jmp 0x44febc
xor eax, eax
mov edx, dword [eax + 0x36d]
mov eax, dword [eax + 0xf2]
or dword [esp + 0x10], edx
cmp eax, 1
je 0x44fedb
cmp eax, 2
jne 0x44fedb
mov byte [esp + 0x17], 1
add ecx, 4
dec ebp
jne 0x44fe99
mov ecx, dword [esi + 0x74]
push 0
push 1
push ebx
push 8
call fcn.00459e30
test al, al
je 0x450743
xor ebp, ebp
cmp ebx, ebp
jne 0x44ff3d
fld dword [esp + 0xac]
fmul dword [esp + 0xac]
fld dword [esp + 0xa8]
fmul dword [esp + 0xa8]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
faddp st(1)
fcomp dword [0x4f0400]
fnstsw ax
test ah, 0x40
jne 0x450014
cmp dword [esi + 0x520], ebp
jne 0x44ff58
mov esi, dword [esi + 0x2979]
cmp ebx, ebp
jne 0x44ffdd
jmp 0x45001a
mov eax, dword [esi + 0x296d]
cmp dword [eax + 0x1792], ebp
jne 0x450063
cmp dword [eax + 0x17e2], ebp
jne 0x450063
cmp ebx, ebp
jne 0x44ff94
mov al, byte [esp + 0x10]
mov esi, dword [esi + 0x2979]
test al, 2
mov eax, dword [esi + 0x7a]
je 0x45001d
jmp 0x450126
mov ecx, ebx
call fcn.004be110
cmp eax, dword [esp + 0x3c]
jne 0x450009
mov cl, byte [esp + 0x10]
mov ax, word [ebx + 0x36b]
test cl, 2
je 0x44ffd7
mov cl, byte [esp + 0x17]
test cl, cl
je 0x44ffd7
cmp ax, 0x19
je 0x45024c
cmp ax, 0x1a
je 0x45024c
cmp ax, 0x21
je 0x45024c
mov esi, dword [esi + 0x2979]
mov eax, dword [esi + 0x7a]
mov ebx, 1
cmp eax, ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xda]
jmp 0x45072a
mov ecx, ebx
call fcn.004be110
test eax, eax
jge 0x450041
mov esi, dword [esi + 0x2979]
mov eax, dword [esi + 0x7a]
cmp eax, ebp
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebp
cdq
idiv dword [esi + 0xd6]
jmp 0x45072a
cmp word [ebx + 0x36b], 0x39
je 0x45024c
mov ecx, ebx
call fcn.004be110
push eax
mov ecx, edi
call fcn.00498cb0
cmp eax, 0xffffffff
jne 0x450014
mov al, byte [esp + 0x10]
mov esi, dword [esi + 0x2979]
test al, 4
je 0x45001a
mov eax, dword [esi + 0x7a]
mov ebx, 3
cmp eax, ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xe2]
jmp 0x45072a
cmp eax, 1
jne 0x45030c
fld dword [esp + 0xac]
fmul dword [esp + 0xac]
fld dword [esp + 0xa8]
fmul dword [esp + 0xa8]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
faddp st(1)
fcomp dword [0x4f0400]
fnstsw ax
test ah, 0x40
je 0x450112
mov esi, dword [esi + 0x2979]
mov eax, dword [esi + 0x7a]
test eax, eax
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], 0
cdq
idiv dword [esi + 0xd6]
jmp 0x45072a
mov eax, dword [esi + 0x295d]
cmp eax, 2
jne 0x45014f
mov esi, dword [esi + 0x2979]
mov eax, dword [esi + 0x7a]
cmp eax, 2
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], 2
cdq
idiv dword [esi + 0xde]
jmp 0x45072a
cmp eax, 4
jne 0x450184
mov esi, dword [esi + 0x2979]
mov ebx, 3
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xe2]
jmp 0x45072a
mov ebp, 8
cmp eax, ebp
jne 0x4501bd
mov esi, dword [esi + 0x2979]
cmp dword [esi + 0x7a], 4
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], 4
cdq
idiv dword [esi + 0xe6]
jmp 0x45072a
cmp eax, 0x10
jne 0x450247
test ebx, ebx
je 0x45021c
mov ecx, ebx
call fcn.004be3e0
test al, al
jne 0x45021c
mov eax, dword [esi + 0x297d]
mov ecx, ebx
mov edi, dword [eax + 0x5e2c]
call fcn.004be110
cmp eax, edi
jne 0x45021c
mov esi, dword [esi + 0x2979]
mov ebx, 6
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xee]
jmp 0x45072a
mov esi, dword [esi + 0x2979]
cmp dword [esi + 0x7a], ebp
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebp
cdq
idiv dword [esi + 0xf6]
jmp 0x45072a
cmp eax, 0x40
jne 0x45027c
mov esi, dword [esi + 0x2979]
mov ebx, 5
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xea]
jmp 0x45072a
cmp eax, 0x40000000
jne 0x450734
test ebx, ebx
je 0x4502dc
cmp word [ebx + 0x36b], 0x39
je 0x4502dc
mov ecx, dword [esi + 0x297d]
mov edi, dword [ecx + 0x5e2c]
mov ecx, ebx
call fcn.004be110
cmp eax, edi
jne 0x4502dc
mov esi, dword [esi + 0x2979]
mov ebx, 7
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xf2]
jmp 0x45072a
mov esi, dword [esi + 0x2979]
mov ebx, 9
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xfa]
jmp 0x45072a
mov ecx, dword [esi + 0x296d]
mov eax, dword [esi + 0x297d]
mov ebx, dword [esi + 0x295d]
mov edx, dword [ecx + 0x1422]
mov edi, dword [eax + 0x5e9b]
test edx, edx
mov dword [esp + 0x84], ebx
je 0x4503d3
mov edx, dword [ecx + 0x227e]
test edx, edx
jne 0x4503d3
mov ecx, dword [ebx + 0x20]
mov eax, edi
lea edi, [esp + 0x18]
mov edx, dword [ecx]
push edi
lea edi, [esp + 0x6c]
push edi
push eax
push ecx
call dword [edx + 0x7c]
test eax, eax
jne 0x450743
lea eax, [esp + 0x18]
push 0x3fc90fda
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.004ee08a
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 0x297d]
push edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
mov ecx, dword [eax + 0x5e9b]
mov eax, dword [ebx + 0x20]
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [eax]
push edi
mov edi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x44]
push edi
push ecx
push eax
call dword [edx + 0xf0]
test eax, eax
jne 0x450743
mov eax, dword [ebx]
add eax, 0x5a
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18
mov edx, dword [eax + 0x5e9b]
mov ecx, dword [eax + 0x5f47]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x68]
fld dword [ecx + 0x7c]
mov ecx, dword [ebx + 0x20]
push edx
lea edx, [esp + 0x48]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x44]
fmul dword [0x4f1a3c]
push edx
push ecx
fstp dword [esp + 0x20]
call dword [eax + 0x7c]
test eax, eax
jl 0x450743
fld dword [esp + 0x4c]
fmul dword [esp + 0x6c]
fld dword [esp + 0x48]
fmul dword [esp + 0x70]
mov eax, dword [esi + 0x297d]
mov edx, dword [esp + 0xb0]
push edx
push ebp
fsubp st(1)
mov ecx, dword [eax + 0x5f47]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fmul dword [esp + 0x7c]
fld dword [esp + 0x74]
fmul dword [esp + 0x58]
fsubp st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x74]
fmul dword [esp + 0x54]
fld dword [esp + 0x50]
fmul dword [esp + 0x78]
fsubp st(1)
fstp dword [esp + 0x64]
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x297d]
push edx
lea edx, [esp + 0x34]
mov ecx, dword [ecx + 0x5f47]
push eax
push edx
call fcn.004afa90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
fld dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x20]
fadd dword [0x4f0570]
mov ebp, dword [eax]
push edx
push ecx
fstp dword [esp]
push ecx
push edi
push eax
call dword [ebp + 0xf4]
test eax, eax
jne 0x450743
push ebx
mov ecx, esi
call fcn.00456fc0
test al, al
je 0x450743
mov ebp, dword [ebx + 0x24]
mov eax, dword [ebx + 0x2c]
cmp ebp, eax
mov dword [esp + 0x9c], ebp
jg 0x450705
mov edi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x30]
cmp edi, eax
mov dword [esp + 0xa0], edi
jg 0x4506f2
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x297d]
push 0
push edi
push ebp
mov ecx, dword [eax + 0x5f3f]
call fcn.00438cd0
test al, 0x99
jne 0x450544
mov ecx, dword [esi + 0x297d]
mov eax, dword [ecx + 0x5e2c]
push eax
push edi
push ebp
call fcn.004d2080
test al, al
jne 0x45055f
mov ecx, dword [esi + 0x297d]
mov edi, dword [ecx + 0x78]
and edi, 0x8000000f
jns 0x45055a
dec edi
or edi, 0xfffffff0
inc edi
shl edi, 0x14
jmp 0x450564
mov edi, 0xff00
mov edx, dword [esi + 0x297d]
mov eax, dword [esp + 0xa0]
push eax
lea eax, [esp + 0x90]
mov ecx, dword [edx + 0x5f47]
mov edx, dword [esp + 0xa0]
push edx
push eax
call fcn.004afa90
fld dword [eax]
fstp dword [esp + 0x18]
fld dword [eax + 4]
fadd dword [0x4f0590]
mov ecx, dword [esi + 0x297d]
mov ebx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x78]
fstp dword [esp + 0x20]
fld dword [eax + 8]
mov ecx, dword [ecx + 0x5f47]
fstp dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
push ebp
push ebx
push edx
call fcn.004af760
mov ecx, eax
sub esp, 0xc
fld dword [esp + 0x60]
mov eax, dword [ecx]
or edi, 0xff000000
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
fmul dword [esp + 0x38]
fld dword [esp + 0x64]
fmul dword [esp + 0x34]
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x64]
fmul dword [esp + 0x30]
fld dword [esp + 0x38]
fmul dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], edx
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x34]
fmul dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x297d]
fsubp st(1)
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 0xa9]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov ecx, esp
push 0x3f800000
push 6
push edi
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x84]
sub esp, 0xc
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x94]
mov edx, esp
sub esp, 0xc
mov dword [edx], eax
mov eax, dword [esp + 0xa4]
mov dword [edx + 4], ecx
mov ecx, esp
mov dword [edx + 8], eax
mov edx, dword [esp + 0x5c]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x7c]
call fcn.0046fbb0
test al, al
je 0x450743
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
inc edi
mov eax, dword [ebx + 0x30]
mov dword [esp + 0xa0], edi
cmp edi, eax
jle 0x450513
mov eax, dword [ebx + 0x2c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x9c], ebp
jle 0x4504e6
mov esi, dword [esi + 0x2979]
or ebx, 0xffffffff
cmp dword [esi + 0x7a], ebx
je 0x450734
lea edi, [esi + 0x48]
push edi
call dword [0x4f011c]
mov eax, dword [esi + 0x7e]
mov dword [esi + 0x7a], ebx
cdq
idiv dword [esi + 0xd2]
push edi
mov dword [esi + 0x7e], edx
call dword [0x4f0120]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18
add esi, 4
push str.MainRect_LButtonMoveRA__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x18