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

Disassembly:
sub esp, 0xdc
cmp dword [ebx + 0x40], 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push edi
jne 0x449ae2
lea edi, [ebx + 0x44]
call ebp
mov esi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x449a61
cmp eax, esi
jne 0x449a61
add dword [edi + 0x1c], 1
jmp 0x449a86
cmp byte [edi + 7], 0
je 0x449a73
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x449a7c
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], esi
cmp dword [ebx + 0x40], 0
jne 0x449aa7
push 0
push 0
push 0x190
push 0x16
push str.Arial
call fcn.00447440
add esp, 0x14
mov dword [ebx + 0x40], eax
cmp dword [edi + 0x1c], 0
je 0x449ac0
cmp dword [edi + 0x18], 0
je 0x449ac0
call ebp
cmp dword [edi + 0x18], eax
jne 0x449ac0
add dword [edi + 0x1c], 0xffffffff
jmp 0x449ae2
cmp byte [edi + 7], 0
mov dword [edi + 0x18], 0
je 0x449ad9
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x449ae2
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edi, dword [ebx + 0x40]
test edi, edi
je 0x44a375
cmp dword [esp + 0xf0], 0
je 0x44a375
mov dword [esp + 0x68], edi
call ebp
mov esi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x449b14
cmp eax, esi
jne 0x449b14
add dword [edi + 0x1c], 1
jmp 0x449b39
cmp byte [edi + 7], 0
je 0x449b26
lea ecx, [edi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x449b2f
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0xec]
mov ecx, dword [esi + 0x50]
shr ecx, 1
mov eax, 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x58], eax
je 0x44a314
jmp 0x449b60
mov edx, dword [esi + 0x4c]
mov ebp, dword [edx + eax*4]
test ebp, ebp
je 0x44a2ff
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
mov edi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x74]
mov ecx, ebp
mov dword [esp + 0x18], edi
call edx
shr eax, 0xf
and al, 1
mov byte [esp + 0x1f], al
je 0x449bd7
mov eax, dword [ebp]
mov edx, dword [eax + 0x50]
mov ecx, ebp
call edx
test edi, edi
mov dword [esp + 0x20], edi
fild dword [esp + 0x20]
jge 0x449baf
fadd dword [0x6c0a38]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
fldcw word [esp + 0x14]
mov edx, dword [ebp]
mov eax, dword [edx + 0x40]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edi, eax
mov eax, dword [edx + 0x74]
mov ecx, ebp
mov dword [esp + 0x10], edi
call eax
test eax, 0x10000
je 0x449c04
test edi, edi
jne 0x449c04
mov dword [esp + 0x10], 2
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
test eax, eax
je 0x449c1e
lea edi, [eax + 4]
jmp 0x449c20
xor edi, edi
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x44]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov ecx, ebp
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x40]
push ecx
push edi
call fcn.00447490
lea edi, [esp + 0x5c]
call fcn.00401700
mov edx, dword [ebp]
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xe0]
xor edi, edi
push eax
mov ecx, ebp
mov dword [esp + 0x60], edi
call edx
fld dword [eax]
fsub dword [esi]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fld dword [eax + 4]
mov eax, dword [ebp]
fsub dword [esi + 4]
mov eax, dword [eax + 0x78]
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
push ecx
push edx
mov ecx, ebp
call eax
fld1
fst dword [esp + 0x88]
mov byte [esp + 0xac], 1
fldz
mov ecx, ebp
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fstp dword [esp + 0xa4]
fst dword [esp + 0x98]
fstp dword [esp + 0xa8]
mov edx, dword [ebp]
mov eax, dword [edx + 0x88]
call eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea ecx, [esp + 0x2c]
fst dword [esp + 0x2c]
lea eax, [esp + 0x88]
fldz
mov byte [esp + 0x50], 0
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld1
fstp dword [esp + 0x4c]
call fcn.004baf00
cmp byte [esp + 0x1f], 0
mov edx, dword [ebp]
mov ecx, ebp
je 0x449d4d
mov eax, dword [edx + 0x50]
call eax
fld1
fdivrp st(1)
jmp 0x449d83
mov eax, dword [edx + 0x88]
call eax
fstp dword [esp + 0x10]
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jb 0x449dc8
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
fstp dword [esp + 0x10]
lea ecx, [esp + 0x2c]
fld dword [esp + 0x10]
lea eax, [esp + 0x88]
fst dword [esp + 0x2c]
mov byte [esp + 0x50], 0
fldz
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld1
fstp dword [esp + 0x4c]
call fcn.004baf00
mov edx, dword [ebp]
mov eax, dword [edx + 0x8c]
mov ecx, ebp
call eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0066abd0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
call fcn.00667390
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x10]
lea eax, [esp + 0x88]
fld dword [esp + 0x18]
mov byte [esp + 0x50], 0
fst dword [esp + 0x2c]
fld dword [esp + 0x10]
fld st(0)
fchs
fstp dword [esp + 0x30]
fldz
fst dword [esp + 0x34]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld1
fstp dword [esp + 0x4c]
call fcn.004baf00
fld1
mov edx, dword [ebp]
fstp dword [esp + 0x2c]
fldz
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xd8]
push eax
fstp dword [esp + 0x34]
mov ecx, ebp
call edx
fld dword [eax]
mov eax, dword [ebp]
fstp dword [esp + 0x34]
fldz
mov edx, dword [eax + 0x84]
fstp dword [esp + 0x38]
lea ecx, [esp + 0xd0]
fld1
push ecx
mov ecx, ebp
fstp dword [esp + 0x40]
call edx
fld dword [eax + 4]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x2c]
fldz
lea eax, [esp + 0x88]
fst dword [esp + 0x44]
mov byte [esp + 0x50], 0
fstp dword [esp + 0x48]
fld1
fstp dword [esp + 0x4c]
call fcn.004baf00
lea ecx, [esi + 0x24]
call fcn.004baf00
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
mov ecx, ebp
call edx
fldz
mov ecx, dword [ebx + 0x40]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebx + 0x40]
mov eax, dword [ebp]
fstp dword [edx + 0x70]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
test eax, eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
jge 0x449efc
fadd dword [0x6c0a38]
fcomp dword [0x6a1ea0]
fnstsw ax
test ah, 0x41
jp 0x449f19
cmp byte [esp + 0x1f], 0
jne 0x449f19
mov eax, dword [ebx + 0x40]
mov byte [eax + 0x75], 1
jmp 0x449f82
mov edx, dword [ebp]
mov eax, dword [edx + 0x68]
mov ecx, ebp
call eax
fstp dword [esp + 0x10]
mov edx, dword [ebp]
mov eax, dword [edx + 0x74]
mov ecx, ebp
call eax
test eax, 0x4000
je 0x449f50
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
fdiv qword [0x6c0ce0]
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [0x6a5f28]
fnstsw ax
test ah, 0x41
je 0x449f65
fstp st(0)
fld1
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x54]
mov ecx, dword [ebx + 0x40]
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x78], edx
mov eax, dword [ebx + 0x40]
mov byte [eax + 0x75], 0
fldz
mov edx, dword [ebp]
mov edx, dword [edx + 0x28]
fst dword [esp + 0x6c]
lea eax, [esp + 0x64]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
push eax
mov ecx, ebp
fstp dword [esp + 0x7c]
call edx
mov eax, dword [eax]
cmp eax, edi
je 0x449fb2
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x449fb6
mov dword [esp + 0x10], edi
mov eax, dword [ebp]
mov esi, dword [ebx + 0x40]
mov edx, dword [eax + 0x48]
mov edi, dword [esi]
push 1
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
test al, al
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x24]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
call edx
lea edi, [esp + 0x64]
call fcn.00401700
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, ebp
call edx
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x58]
mov ecx, ebp
call edx
fmul qword [0x6c0b80]
fnstcw word [esp + 0x14]
mov ecx, esi
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x20], eax
shr ecx, 0x18
mov eax, 0xff
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x14]
imul ecx, edx
shr ecx, 8
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, esi
and esi, 0xff00ff
mov edi, ecx
imul esi, edx
and edi, 0xff00ff
imul edi, dword [esp + 0x14]
add esi, edi
shr eax, 8
mov edi, eax
and edi, 0xffff00ff
shr ecx, 8
imul edi, edx
and ecx, 0xff00ff
imul ecx, dword [esp + 0x14]
and eax, 0xff00ff
imul eax, edx
shr esi, 8
xor esi, edi
and esi, 0xff00ff
xor esi, eax
and ecx, 0xff00ff00
add esi, ecx
mov edx, dword [ebp]
mov eax, dword [edx + 0x60]
mov ecx, ebp
mov dword [esp + 0x18], esi
call eax
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
fmul qword [0x6c0b80]
fnstcw word [esp + 0x14]
mov ecx, esi
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x20], eax
shr ecx, 0x18
mov eax, 0xff
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x14]
imul ecx, edx
shr ecx, 8
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, esi
and esi, 0xff00ff
mov edi, ecx
imul esi, edx
and edi, 0xff00ff
imul edi, dword [esp + 0x14]
add esi, edi
shr eax, 8
mov edi, eax
and edi, 0xffff00ff
shr ecx, 8
imul edi, edx
and ecx, 0xff00ff
imul ecx, dword [esp + 0x14]
and eax, 0xff00ff
imul eax, edx
shr esi, 8
xor esi, edi
mov edi, dword [esp + 0xf4]
and esi, 0xff00ff
xor esi, eax
and ecx, 0xff00ff00
add esi, ecx
mov dword [esp + 0x10], esi
xor esi, esi
cmp edi, esi
je 0x44a1a1
push 1
lea esi, [esp + 0x1c]
call fcn.00477ef0
push 1
lea esi, [esp + 0x14]
call fcn.00477ef0
xor esi, esi
mov edx, dword [ebp]
mov eax, dword [edx + 0x40]
mov ecx, ebp
call eax
cmp eax, 2
jne 0x44a1b6
mov edx, dword [esp + 0x10]
jmp 0x44a1d3
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
mov ecx, ebp
call edx
cmp eax, 1
jne 0x44a1cf
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x44a1dc
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x40]
mov dword [ecx + 0x88], edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x74]
mov ecx, ebp
call edx
mov ecx, dword [ebx + 0x40]
and al, 1
mov byte [ecx + 0x81], al
mov edx, dword [ebp]
mov eax, dword [edx + 0x74]
mov ecx, ebp
call eax
mov ecx, dword [ebx + 0x40]
and al, 2
mov byte [ecx + 0x82], al
mov edx, dword [ebp]
mov eax, dword [edx + 0x74]
mov ecx, ebp
call eax
mov ecx, dword [ebx + 0x40]
and al, 4
mov byte [ecx + 0x83], al
mov eax, dword [esp + 0xf0]
mov edx, dword [eax + 8]
lea edi, [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc8], edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x28]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
call edx
mov eax, dword [eax]
cmp eax, esi
je 0x44a265
add eax, 4
mov dword [esp + 0x14], eax
jmp 0x44a269
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0x40]
mov edx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [edx + 0x48]
push 0xffffffffffffffff
push 1
mov ecx, ebp
mov dword [esp + 0x28], eax
call edx
mov edx, dword [esp + 0xb8]
test al, al
sete al
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, dword [esp + 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xd8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xa8]
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x1c]
push edi
push ecx
mov ecx, esi
call edx
lea edi, [esp + 0x60]
call fcn.00401700
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0xec]
mov dword [esp + 0x60], 0
add eax, 1
cmp eax, ecx
mov dword [esp + 0x58], eax
jb 0x449b60
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x1c], 0
je 0x44a339
cmp dword [edi + 0x18], 0
je 0x44a339
call ebp
cmp dword [edi + 0x18], eax
jne 0x44a339
add dword [edi + 0x1c], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0xdc
ret 0xc
cmp byte [edi + 7], 0
mov dword [edi + 0x18], 0
je 0x44a35e
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0xdc
ret 0xc
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0xdc
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0xdc
ret 0xc