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

Disassembly:
push 0xffffffffffffffff
push 0x59e900
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov eax, edx
sub eax, ecx
sar eax, 2
xor edi, edi
cmp eax, ebx
jle 0x44c9e7
cmp edi, eax
jb 0x44c9bb
call fcn.004f825e
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00409a20
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov eax, edx
sub eax, ecx
inc edi
sar eax, 2
cmp edi, eax
jl 0x44c9ad
sub edx, ecx
sar edx, 2
cmp edx, 3
jne 0x44ccde
cmp dword [esp + 0x8c], ebx
je 0x44ccde
mov edi, dword [ecx]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [esp + 0x90]
test eax, eax
je 0x44ca5a
mov ecx, dword [0x660fcc]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov dword [esp + 0x94], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [0x660fcc]
push edi
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x90]
mov edx, dword [0x660fcc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], ebx
sar eax, 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 1
test eax, eax
ja 0x44cad7
call fcn.004f825e
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ecx
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
call fcn.004c6969
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb8]
add esp, 0x14
sar eax, 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
cmp eax, 2
ja 0x44cb47
call fcn.004f825e
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 8]
push eax
mov dword [esp + 0x94], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44cbb5
mov edx, dword [0x660fcc]
push ebp
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [0x660fcc]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x8c]
mov edx, dword [0x660fcc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 4]
sub edi, dword [esp + 0x18]
mov dword [esp + 0x58], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x38], edi
sar eax, 2
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 1
cmp eax, 2
ja 0x44cc05
call fcn.004f825e
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ecx
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x4c]
call fcn.004c6969
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xbc]
sub edx, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x6c], esi
mov esi, dword [esi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x44]
sar edx, 2
add esp, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 1
cmp edx, 1
ja 0x44ccaf
call fcn.004f825e
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 4]
push ecx
push ebp
push edx
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x4c]
call fcn.004c6969
add esp, 0x14
jmp 0x44ce9a
cmp edx, 2
jne 0x44ce24
mov edx, dword [esp + 0x88]
cmp dword [edx + 0xbc], 0x30
jne 0x44ce24
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x94]
push eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x94]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 1
mov ecx, dword [ecx]
push 0x5d74e0
mov dword [esp + 0x28], ebp
push ecx
lea eax, [esp + 0x68]
add ebp, 0xfffffff6
add edi, 0x14
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edi
call fcn.004c6969
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], esi
mov esi, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb8]
mov dword [esp + 0x50], ebp
add ebp, 0x14
add edi, 0x14
sar eax, 2
add esp, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 1
cmp eax, 1
ja 0x44cdf1
call fcn.004f825e
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push edx
push ecx
push 0x5d74e0
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x4c]
call fcn.004c6969
add esp, 0x14
jmp 0x44ce9a
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], esi
mov esi, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ecx
mov dword [esp + 0x70], esi
add eax, 0xfffffff0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 1
mov esi, 0x8020
mov dword [esp + 0xa0], esp
mov edi, esp
call fcn.004073f0
lea edx, [esp + 0xbc]
add eax, 0x10
push edx
mov edx, esi
lea ecx, [esp + 0x68]
mov dword [edi], eax
call fcn.004c5db0
add esp, 0x10
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov esi, dword [esp + 0xa4]
cmp esi, ebx
je 0x44cf19
mov eax, dword [esp + 0xa8]
mov edi, eax
cmp esi, eax
je 0x44cf10
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x44cee4
mov esi, dword [esp + 0xa4]
push esi
call fcn.004f6734
add esp, 4
mov ecx, dword [esp + 0x98]
push ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call fcn.004f6734
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x38