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

Disassembly:
sub esp, 0x280
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
call fcn.300d5800
test eax, eax
mov dword [esp + 0xc], eax
jne 0x300b769d
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x300b819d
mov dword [esp + 0xc], eax
lea ebp, [eax + 0x2c]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xdc]
mov edi, dword [ecx + 0x1c]
mov ecx, eax
mov eax, dword [ecx + 0x218]
test eax, eax
mov dword [esp + 0x28], ebp
mov byte [esp + 0x4c], 0
jne 0x300b76c6
call fcn.300e4110
cmp eax, 9
jl 0x300b76d0
mov byte [esp + 0x4c], 1
mov edi, dword [edi + 0x834]
push edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
fild dword [esp + 0x2a8]
mov ecx, dword [esi + 4]
fst dword [esp + 0x24]
fmul dword [esi + 0x4c]
fmul dword [0x30297a5c]
fstp dword [esp + 0x18]
call fcn.300d8aa0
mov ecx, dword [eax + 8]
cmp ecx, 7
jne 0x300b772d
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx + 0xdc]
push edx
call fcn.300b5d80
mov eax, dword [eax + 0x28]
add esp, 4
cmp eax, 0x3e7
je 0x300b7733
jmp 0x300b772f
mov eax, ecx
test eax, eax
je 0x300b775b
fld dword [esi + 0x50]
fcom dword [0x3029ad5c]
fnstsw ax
test ah, 5
jp 0x300b7758
fcom dword [0x3029ad58]
fnstsw ax
test ah, 0x41
jne 0x300b7758
fstp st(0)
fld dword [0x302fd40c]
fstp dword [esi + 0x50]
mov edi, dword [esp + 0x294]
test edi, edi
je 0x300b780e
lea ebx, [ebx]
mov al, byte [edi + 0x2e]
cmp al, 3
je 0x300b778e
cmp al, 4
je 0x300b778e
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x300b7770
mov dword [esp + 0x294], edi
jmp 0x300b780e
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 4]
mov dword [esp + 0x294], edi
je 0x300b780e
mov edx, dword [edi + 0x4c]
mov eax, dword [esi + 0x50]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x4c]
mov edx, dword [esi + 0x48]
mov dword [ecx + 0x40], edx
mov eax, dword [edi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x44], ecx
mov edx, dword [edi + 0x4c]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
call fcn.300d8aa0
mov ecx, dword [eax + 8]
cmp ecx, 7
jne 0x300b77fd
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0xdc]
push ecx
call fcn.300b5d80
mov eax, dword [eax + 0x28]
add esp, 4
cmp eax, 0x3e7
jne 0x300b77ff
mov eax, 1
jmp 0x300b77ff
mov eax, ecx
mov edx, dword [edi + 0x4c]
mov byte [edx + 0x59], al
mov eax, dword [edi + 0x4c]
mov cl, byte [esi + 0x2c]
mov byte [eax + 0x58], cl
push ebx
mov ebx, dword [esp + 0x294]
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x300b794c
mov edx, dword [ebx + 0x14]
xor eax, eax
push edx
push eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], al
mov eax, dword [ebx + 0x10]
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], SysStringLen
call fcn.300dfc60
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add eax, 2
mov dword [esp + 0x7c], eax
mov cl, byte [eax + ecx]
movzx edi, cl
push edi
lea edx, [esp + 0x194]
inc eax
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], eax
call fcn.300e19a0
cmp eax, edi
jge 0x300b78da
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdc]
push 1
call fcn.300f8ab0
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x280
ret 0x24
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + edi + 0x194], 0
call fcn.30075610
mov eax, dword [ebp]
push ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.300b57f0
test eax, eax
mov dword [ebx + 0x30], eax
jne 0x300b793f
mov edx, dword [esp + 0x40]
push edx
call fcn.30208320
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x280
ret 0x24
mov ecx, dword [esp + 0x40]
push ecx
call fcn.30208320
add esp, 4
mov eax, dword [esp + 0x2a8]
movzx edx, byte [eax + 2]
movzx ecx, byte [eax]
mov dword [esp + 0x10], edx
movzx edx, byte [eax + 1]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul dword [0x3029ad54]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [0x3029ad50]
faddp st(1)
fild dword [esp + 0x10]
fmul dword [0x3029ad4c]
faddp st(1)
fcomp dword [0x3029ad48]
fnstsw ax
test ah, 0x41
jne 0x300b79a0
mov ebp, 1
jmp 0x300b79a2
xor ebp, ebp
mov edi, dword [esp + 0x1c]
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x30]
push ebp
push edi
push edx
mov dword [esp + 0xc4], 0x41800000
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x3f000000
mov dword [esp + 0xd0], 0xbf0f5c29
mov dword [esp + 0xd4], 0x3f800000
call fcn.300b6570
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x300b7a42
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x300b7a42
cmp ebp, 1
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebx + 0x30]
jne 0x300b7a1e
push 0
jmp 0x300b7a20
push 1
push edi
push edx
call fcn.300b6570
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x300b7a42
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x300b7a42
lea eax, [esp + 0xb0]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x298]
test ecx, ecx
mov dword [esp + 0x5c], 0x41800000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x3f000000
mov dword [esp + 0x68], 0xbf0f5c29
mov dword [esp + 0x6c], 0x3f800000
je 0x300b7a90
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push eax
lea edx, [esp + 0x64]
push edx
push edi
call fcn.300d8aa0
mov ecx, eax
call fcn.300b53b0
mov eax, dword [esp + 0x2b0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esi + 0x30]
mov dword [esp + 0x60], edx
call fcn.30077aa0
fld dword [esi + 0x50]
fmul qword [0x3029ad40]
fstp qword [esp + 0x54]
fld qword [esp + 0x54]
fistp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cdq
mov ecx, 0x5a
idiv ecx
test edx, edx
jne 0x300b7bdc
mov ecx, dword [esi + 4]
call fcn.300d8aa0
mov ecx, dword [eax + 8]
cmp ecx, 7
jne 0x300b7b13
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx + 0xdc]
push edx
call fcn.300b5d80
mov eax, dword [eax + 0x28]
add esp, 4
cmp eax, 0x3e7
je 0x300b7b1a
jmp 0x300b7b15
mov eax, ecx
cmp eax, 1
jne 0x300b7b42
fld dword [esp + 0x20]
fmul dword [0x3029ad38]
fadd dword [0x30296740]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x10]
fild dword [esp + 0x10]
fmul dword [0x3029ad34]
jmp 0x300b7b68
fld dword [esp + 0x20]
fmul dword [0x30296740]
fadd dword [0x3029ad30]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x10]
fild dword [esp + 0x10]
fmul dword [0x3029acac]
mov ecx, dword [esi + 4]
fstp dword [esp + 0x20]
call fcn.300d8aa0
mov ecx, dword [eax + 8]
cmp ecx, 7
jne 0x300b7bb4
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0xdc]
push eax
call fcn.300b5d80
mov eax, dword [eax + 0x28]
add esp, 4
cmp eax, 0x3e7
jne 0x300b7bb6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
fistp dword [esp + 0x10]
fild dword [esp + 0x10]
jmp 0x300b7be0
mov eax, ecx
test eax, eax
jne 0x300b7b9e
fld dword [esp + 0x24]
fmul dword [0x30296740]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x10]
fild dword [esp + 0x10]
fmul dword [0x3029acac]
jmp 0x300b7be0
fld dword [esp + 0x24]
mov edx, dword [esp + 0x20]
fchs
fst dword [esp + 0x24]
mov dword [esp + 0xf4], edx
fstp dword [esp + 0xf8]
fld dword [esp + 0x28]
fmul dword [0x3029ad2c]
fst dword [esp + 0x54]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x28]
mov ecx, dword [esi + 0x4c]
fild dword [esp + 0x28]
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x20]
fmul dword [0x3029acac]
mov dword [esp + 0x108], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x24]
fstp dword [esp + 0xfc]
mov dword [esp + 0x10c], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x114], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x100], 0x48
mov dword [esp + 0x110], eax
mov dword [esp + 0x118], edx
call fcn.300d8aa0
mov ecx, dword [eax + 8]
cmp ecx, 7
jne 0x300b7ca5
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0xdc]
push eax
call fcn.300b5d80
mov eax, dword [eax + 0x28]
add esp, 4
cmp eax, 0x3e7
jne 0x300b7ca7
mov eax, 1
jmp 0x300b7ca7
mov eax, ecx
fld dword [esp + 0xfc]
mov ecx, dword [esp + 0x64]
fmul dword [esi + 0x4c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x6c]
fcomp dword [0x3029ac80]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x29c]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x124], edx
movzx edx, word [esp + 0x2a0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax]
mov dword [esp + 0xa0], edx
mov ebp, dword [ecx + 0x260]
fnstsw ax
test ah, 1
jne 0x300b7d14
mov ebp, 7
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ebp
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x44], ecx
fld dword [eax + 0x38]
fmul dword [0x302996f0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebp
fld dword [eax + 0x34]
fmul dword [0x302996f0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edi, dword [esi + 0x18]
mov dword [esp + 0xac], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x300b7dc7
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0x1000000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x10
mov dword [esp + 0x90], 5
call fcn.30163260
add esp, 8
mov dword [edi + 8], eax
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
mov edi, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0xa4]
push edx
push edi
push eax
call fcn.301633a0
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x28], ebx
jne 0x300b805d
cmp ebp, 7
mov edi, dword [esi + 0x18]
jne 0x300b7e92
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x260]
mov dword [esp + 0xa8], edx
mov eax, dword [edi + 8]
test eax, eax
jne 0x300b7e28
mov ecx, edi
call fcn.300b4e80
mov edx, dword [edi + 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x18]
push 1
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call fcn.301633a0
mov ecx, dword [esp + 0x24]
add esp, 0x14
cmp ecx, 1
jne 0x300b7e85
mov edi, dword [esi + 0x18]
mov eax, dword [edi + 8]
test eax, eax
jne 0x300b7e64
mov ecx, edi
call fcn.300b4e80
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.30163650
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xa8], 7
jmp 0x300b7ee3
mov dword [esp + 0xa8], 7
mov eax, dword [edi + 8]
test eax, eax
jne 0x300b7eab
mov ecx, edi
call fcn.300b4e80
mov edi, dword [edi + 8]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0xa4]
push edx
push edi
push eax
call fcn.301633a0
mov ecx, dword [esp + 0x24]
add esp, 0x14
cmp ecx, 1
jne 0x300b7edc
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa8], ebp
test ecx, ecx
jne 0x300b802d
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x294]
mov dx, word [esp + 0x2a0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0xdc]
push ecx
mov ebx, 0x3029ac9c
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
mov word [esp + 0x88], dx
mov dword [esp + 0x8c], 0
mov byte [esp + 0x90], 0
call fcn.300b5f60
test al, al
je 0x300b8008
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xdc]
mov edi, dword [esp + 0x88]
mov edx, dword [esp + 0x294]
push ecx
mov ecx, dword [esi + 0x18]
push edi
push edx
call fcn.300b7390
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x130]
push ecx
lea edx, [esi + 0x54]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x168]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x108]
push edx
push edi
push ecx
call fcn.301647b0
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x60]
push ecx
push edi
push eax
call fcn.30161e80
mov edi, dword [esi + 0x18]
mov ebp, eax
mov eax, dword [edi + 8]
add esp, 0x2c
test eax, eax
jne 0x300b7fca
mov ecx, edi
call fcn.300b4e80
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 8]
push ebp
lea edx, [esp + 0xa0]
push edx
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call fcn.301634c0
mov eax, dword [0x30336630]
add esp, 0x14
inc eax
lea ecx, [esp + 0x78]
mov dword [0x30336630], eax
mov dword [esp + 0x78], ebx
call fcn.300b5230
jmp 0x300b809e
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], ebx
call fcn.300b5230
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x280
ret 0x24
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x130]
push eax
lea ecx, [esi + 0x54]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esi + 0x18]
lea eax, [esp + 0x168]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x108]
push ecx
push ebx
push eax
jmp 0x300b808b
mov ecx, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x130]
push edx
lea eax, [esi + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x168]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x108]
push eax
push ebx
push edx
call fcn.30163d90
mov eax, dword [0x30336634]
add esp, 0x20
inc eax
mov dword [0x30336634], eax
mov al, byte [esp + 0x2b4]
test al, al
jne 0x300b8191
mov eax, dword [esp + 0x3a]
mov ecx, dword [esp + 0x34]
add ecx, eax
neg ecx
mov word [esp + 0xd0], cx
mov edx, dword [esp + 0xd0]
add edx, eax
mov eax, dword [esp + 0x2a8]
xor ecx, ecx
mov ch, byte [eax + 3]
mov word [esp + 0xd2], dx
movzx edx, byte [eax + 1]
mov cl, byte [eax]
movzx eax, byte [eax + 2]
shl ecx, 8
or ecx, edx
mov dx, word [esp + 0x2a0]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x294]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x20]
mov word [esp + 0xe0], dx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
mov dword [esp + 0x54], eax
fld dword [esp + 0x54]
fistp dword [esp + 0x1c]
mov cx, word [esp + 0x1c]
mov eax, dword [esp + 0x298]
mov word [esp + 0xf0], cx
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xd8], ecx
mov word [esp + 0xcc], cx
mov word [esp + 0xce], cx
je 0x300b8191
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [eax + 0x4c]
call fcn.300aa630
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x280
ret 0x24